No, it’s WooCommerce Bookings from WooCommerce itself…
I found this in the file wp-content\plugins\woocommerce-bookings\includes\admin\views\html-create-booking-page-2.php
<div class="wrap woocommerce">
<h2><?php esc_html_e( 'Add Booking', 'woocommerce-bookings' ); ?></h2>
<?php $this->show_errors(); ?>
<form method="POST" data-nonce="<?php echo esc_attr( wp_create_nonce( 'find-booked-day-blocks' ) ); ?>" id="wc-bookings-booking-form">
<table class="form-table">
<tbody>
<tr>
<th scope="row">
<label><?php esc_html_e( 'Booking Data', 'woocommerce-bookings' ); ?></label>
</th>
<td>
<div class="wc-bookings-booking-form">
<?php $booking_form->output(); ?>
<div class="wc-bookings-booking-cost" style="display:none"></div>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row"> </th>
<td>
<input type="submit" name="create_booking_2" class="button-primary add_custom_booking" value="<?php esc_attr_e( 'Add Booking', 'woocommerce-bookings' ); ?>" />
<input type="hidden" name="customer_id" value="<?php echo esc_attr( $customer_id ); ?>" />
<input type="hidden" name="bookable_product_id" value="<?php echo esc_attr( $bookable_product_id ); ?>" />
<input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $bookable_product_id ); ?>" />
<input type="hidden" name="booking_order" value="<?php echo esc_attr( $booking_order ); ?>" />
<?php wp_nonce_field( 'create_booking_notification' ); ?>
</td>
</tr>
</tbody>
</table>
</form>
</div>
this in the file wp-content\plugins\woocommerce-bookings\includes\booking-form\class-wc-booking-form.php
wp_enqueue_script( 'wc-bookings-booking-form', WC_BOOKINGS_PLUGIN_URL . '/dist/frontend.js', array( 'jquery', 'jquery-blockui', 'jquery-ui-datepicker', 'underscore' ), WC_BOOKINGS_VERSION, true );
wp_localize_script( 'wc-bookings-booking-form', 'wc_bookings_booking_form', $wc_bookings_booking_form_args );
wp_localize_script( 'wc-bookings-booking-form', 'wc_bookings_date_picker_args', $wc_bookings_date_picker_args );
wp_enqueue_script( 'wc-bookings-date' );
// Variables for JS scripts
$booking_form_params = array(
'cache_ajax_requests' => 'false',
'nonce' => array(
'get_end_time_html' => wp_create_nonce( 'get_end_time_html' ),
'show_available_month_blocks' => wp_create_nonce( 'show_available_month_blocks' ),
),
'ajax_url' => admin_url( 'admin-ajax.php' ),
'i18n_date_unavailable' => __( 'This date is unavailable', 'woocommerce-bookings' ),
'i18n_date_fully_booked' => __( 'This date is fully booked and unavailable', 'woocommerce-bookings' ),
'i18n_date_partially_booked' => __( 'This date is partially booked - but bookings still remain', 'woocommerce-bookings' ),
'i18n_date_available' => __( 'This date is available', 'woocommerce-bookings' ),
'i18n_start_date' => __( 'Choose a Start Date', 'woocommerce-bookings' ),
'i18n_end_date' => __( 'Choose an End Date', 'woocommerce-bookings' ),
'i18n_dates' => __( 'Dates', 'woocommerce-bookings' ),
'i18n_choose_options' => __( 'Please select the options for your booking and make sure duration rules apply.', 'woocommerce-bookings' ),
'i18n_clear_date_selection' => __( 'To clear selection, pick a new start date', 'woocommerce-bookings' ),
'i18n_request_failed' => __( 'We weren\'t able to get that information. Please contact the store owner for help.', 'woocommerce-bookings' ),
'pao_pre_30' => ( defined( 'WC_PRODUCT_ADDONS_VERSION' ) && version_compare( WC_PRODUCT_ADDONS_VERSION, '3.0', '<' ) ) ? 'true' : 'false',
'pao_active' => class_exists( 'WC_Product_Addons' ),
'timezone_conversion' => wc_should_convert_timezone(),
'client_firstday' => 'yes' === WC_Bookings_Timezone_Settings::get( 'use_client_firstday' ),
'server_timezone' => wc_booking_get_timezone_string(),
'server_time_format' => wc_bookings_convert_to_moment_format( wc_bookings_time_format() ),
'i18n_store_server_time' => esc_js( __( 'Store server time: ', 'woocommerce-bookings' ) ),
);
wp_localize_script( 'wc-bookings-booking-form', 'booking_form_params', apply_filters( 'booking_form_params', $booking_form_params ) );
and this in the file wp-content\plugins\woocommerce-bookings\templates\single-product\add-to-cart\booking.php
if ( ! $product->is_purchasable() ) {
return;
}
$nonce = wp_create_nonce( 'find-booked-day-blocks' );
do_action( 'woocommerce_before_add_to_cart_form' ); ?>
<noscript><?php esc_html_e( 'Your browser must support JavaScript in order to make a booking.', 'woocommerce-bookings' ); ?></noscript>
<form class="cart" method="post" enctype='multipart/form-data' data-nonce="<?php echo esc_attr( $nonce ); ?>">
<div id="wc-bookings-booking-form" class="wc-bookings-booking-form" style="display:none">
<?php do_action( 'woocommerce_before_booking_form' ); ?>
<?php $booking_form->output(); ?>
<div class="wc-bookings-booking-cost price" style="display:none" data-raw-price=""></div>
</div>
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
<input type="hidden" name="add-to-cart" value="<?php echo esc_attr( is_callable( array( $product, 'get_id' ) ) ? $product->get_id() : $product->id ); ?>" class="wc-booking-product-id" />
<button type="submit" class="wc-bookings-booking-form-button single_add_to_cart_button button alt disabled" style="display:none"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button>
<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
</form>