Created
February 12, 2026 06:11
-
-
Save pramodjodhani/17e6abda44b6c6283635f6b8478bccd8 to your computer and use it in GitHub Desktop.
Orderable: Disable auto select date time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Orderable Pro: Disable auto select date time. | |
| */ | |
| function orderable_pro_disable_auto_select_date_time() { | |
| ?> | |
| <script> | |
| jQuery(document).ready(function($) { | |
| wp.hooks.addFilter('orderable_pro_timing_disable_auto_select_date_time','snippets', function() { | |
| return true; | |
| }); | |
| }); | |
| </script> | |
| <?php | |
| } | |
| add_action( 'wp_footer', 'orderable_pro_disable_auto_select_date_time' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment