Last active
November 28, 2018 19:41
-
-
Save SirDarcanos/00b8adff446789453a420852a4baf620 to your computer and use it in GitHub Desktop.
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
add_filter( 'booking_form_params', 'change_booking_form_params' ); | |
function change_booking_form_params( $params ) { | |
$params['i18n_date_unavailable' = 'This date is unavailable'; | |
$params['i18n_date_fully_booked'] = 'This date is fully booked and unavailable'; | |
$params['i18n_date_partially_booked'] = 'This date is partially booked - but bookings still remain'; | |
$params['i18n_date_available'] = 'This date is available'; | |
$params['i18n_start_date'] = 'Choose a Start Date'; | |
$params['i18n_end_date'] = 'Choose an End Date'; | |
$params['i18n_dates'] = 'Dates'; | |
$params['i18n_choose_options'] = 'Please select the options for your booking above first'; | |
return $params; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Missing ] on line 3 causes error on pages.