Last active
December 2, 2019 07:04
-
-
Save PluginHive/58c8f82115ba0c6e2f45c3587a064e9b to your computer and use it in GitHub Desktop.
Hide the notice which displays after placing a 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
add_filter( 'ph_booking_add_to_cart_message_html', 'ph_booking_hide_add_to_cart_message_html' ); | |
function ph_booking_hide_add_to_cart_message_html( $message='' ) { | |
// return $message; | |
return ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment