Created
April 20, 2015 09:58
-
-
Save alessandrotesoro/916b9a6f7edbc5259d42 to your computer and use it in GitHub Desktop.
24 Hours late booking
This file contains 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
function wprm_add_24_h( $late_bookings ) { | |
$late_bookings['1440'] = __( 'At least 24 hours in advance', 'wprm' ), | |
return $late_bookings; | |
} | |
add_filter( 'wprm_get_late_bookings', 'wprm_add_24_h' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment