Deactivate some notifications emails

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Deactivate some notifications emails

Viewing 1 reply thread
  • Author
    Posts
    • #53387
      acauaferreira
      Participant

      I would like to deactivate some emails sent from wcfmu:

      > Do Not send Email title ”notification booking” For admin and vendors

      >DO not send email for VENDORS , its from ‘Wcfm’ or ‘Woocommerce Booking’
      Title: [{blogname}] New booking for {product_title} (Order {order_number}) – {order_date}

      >If possible all booking related notifications for vendors and admin

    • #53566
      WCFM Forum
      Member

      Hi,

      Use this code –

      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;
      }, 50, 3 );

      Also disable New Booking email from wp-admin -> WooCommerce -> Setting -> Emails

      Thank You

Viewing 1 reply thread
  • The topic ‘Deactivate some notifications emails’ is closed to new replies.