Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Hide Booking notifications
- This topic has 3 replies, 2 voices, and was last updated 5 years, 10 months ago by
WCFM Forum.
- AuthorPosts
- April 4, 2019 at 2:06 pm #56155
acauaferreira
ParticipantHi , as who are using WooBooking receive 2 notification for 1 order ,
i would like to remove the notification related to new booking, and leave the notification related to Order.
Because its too confused to explain to vendor that for ONE booking, he will receive 2 Notifications (With different order numbers!) in dashboard.Attachments:
You must be logged in to view attached files. - April 6, 2019 at 5:00 pm #56528
WCFM Forum
MemberHi,
Please add this code snippet –
add_filter( 'wcfm_is_allow_notification_message', function( $is_allow, $wcfm_messages_type, $message_to ) { if( $wcfm_messages_type == 'booking' ) $is_allow = false; return $is_allow; }, 60, 3 );
Thank You
- April 9, 2019 at 2:20 pm #56979
acauaferreira
ParticipantThankyou, it works <3
You should have a Developer documentation with tips and tricks with all this codes, would help a lot all users and would require much less your support.
- April 10, 2019 at 12:54 pm #57126
WCFM Forum
MemberYou are welcome 🙂
We are actually creating this for developers – https://docs.wclovers.com/tweaks/
Thank You
- AuthorPosts
- The topic ‘Hide Booking notifications’ is closed to new replies.