Woocommerce waitinglist plugin | WordPress.org

Hello,

Do you receive an email notification when that happens?

Thread Starter
almsit

(@almsit)

I get a notification for any event: when a user adds to the waiting list, makes an order, pays, and so on. I want to disable when the user adds to the waiting list. how to do it?

There is a filter wptelegram_notify_send_notification that you can use to avoid sending notification to Telegram:

add_filter( 'wptelegram_notify_send_notification',	function ( $send, $args ) {
	// If the email subject contains the string "on-hold"
	$item_put_on_hold = false !== strpos( strtolower( $args['subject'] ), 'on-hold' );

	if ( $item_put_on_hold ) {
		$send = false;
	}

	return $send;
}, 10, 2 );

That’s just an example which you will need to update as per your needs.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer