1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php function custom_wooccm_timepicker_jquery_args( $args, $btn ) { $args = ' showPeriod: false, showPeriodLabels: false, showSecond: false, timeFormat: "HH:mm:ss", ampm: false '; return $args; } add_filter( 'wooccm_timepicker_jquery_args', 'custom_wooccm_timepicker_jquery_args', 10, 2 ); ?>
You can clone a snippet to your computer for local editing. Learn more.