PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
← All changes | includes/_toolbar_ui/toolbar_ui.php +13 -5 10.15.7 → 11.9 View file →
@@ -1,4 +1,4 @@
1 1 <?php /**
2 2 * @version 1.1
3 3 * @package Any
4 4 * @category Toolbar. UI Elements for Admin Panel
@@ -48,12 +48,20 @@
48 48 ?></div><?php
49 49
50 50 ?><div class="ui_group ui_group__keyword ui_search_fields_group_2"><?php // array( 'class' => 'group_nowrap' ) // Elements at Several or One Line
51 51
52 - wpbc_ajx__ui__booking_resources( $escaped_search_request_params, $default_param_values );
52 + wpbc_ajx__ui__booking_resources( $escaped_search_request_params, $default_param_values );
53 +
54 + /**
55 + * Render extension filters after the Booking Resource selector.
56 + *
57 + * @param array<string,mixed> $escaped_search_request_params Sanitized current filter values.
58 + * @param array<string,mixed> $default_param_values Default filter values.
59 + */
60 + do_action( 'wpbc_booking_listing_toolbar_after_resources', $escaped_search_request_params, $default_param_values );
61 +
62 + wpbc_ajx_toolbar_keyword_search( $escaped_search_request_params, $default_param_values );
53 63
54 - wpbc_ajx_toolbar_keyword_search( $escaped_search_request_params, $default_param_values );
55 -
56 64 wpbc_ajx_toolbar_clear_keyword_search( $escaped_search_request_params, $default_param_values ); // FixIn: 9.7.2.3.
57 65
58 66 wpbc_ajx_toolbar_force_reload_button( $escaped_search_request_params, $default_param_values );
59 67
@@ -1119,9 +1127,9 @@
1119 1127 , 'style' => 'width:100%;' // CSS of select element
1120 1128 , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
1121 1129 , 'disabled' => false
1122 1130 , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1123 - , 'placeholder' => __('To' ,'booking') // gmdate( 'Y-m-d' )
1131 + , 'placeholder' => _x( 'To', 'range end', 'booking' ) // gmdate( 'Y-m-d' )
1124 1132 , 'value' => $request_input_el_default[ 'ui_wh_modification_date_checkout'] // Some Value from optins array that selected by default
1125 1133 , 'onfocus' => "jQuery('#ui_wh_modification_date_radio_3').prop('checked', true);" // JavaScript code
1126 1134 //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1127 1135 )
@@ -1494,5 +1502,5 @@
1494 1502 }
1495 1503 add_action( 'wpbc_enqueue_js_files', 'wpbc_ajx_toolbar_enqueue_js_files', 50 );
1496 1504
1497 1505
1498 -// 2024-08-13
1506 +// 2024-08-13