Skip to content

Instantly share code, notes, and snippets.

@alessandrotesoro
Created April 20, 2015 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alessandrotesoro/916b9a6f7edbc5259d42 to your computer and use it in GitHub Desktop.
Save alessandrotesoro/916b9a6f7edbc5259d42 to your computer and use it in GitHub Desktop.
24 Hours late booking
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