Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Overwrite the minute increment from 5 minutes to anything else in Order Delivery Datea plugin
<?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
You can’t perform that action at this time.