Skip to content

Instantly share code, notes, and snippets.

@PluginHive
Last active December 2, 2019 07:04
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 PluginHive/58c8f82115ba0c6e2f45c3587a064e9b to your computer and use it in GitHub Desktop.
Save PluginHive/58c8f82115ba0c6e2f45c3587a064e9b to your computer and use it in GitHub Desktop.
Hide the notice which displays after placing a booking
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