Created
March 30, 2019 12:18
-
-
Save ashokrane/400b66ef726577ec933233c8e49afb46 to your computer and use it in GitHub Desktop.
Overwrite the minute increment from 5 minutes to anything else in Order Delivery Datea plugin
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
<?php | |
add_filter( 'orddd_time_slider_minute_step', 'ts_orddd_overwrite_minute_increment', 10, 1 ); | |
function ts_orddd_overwrite_minute_increment( $step_minute ) { | |
$step_minute = 15; | |
return $step_minute; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment