woocommerce_allow_send_queued_transactional_email, true, $filter, $args

woocommerce_allow_send_queued_transactional_email, true, $filter, $args

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_allow_send_queued_transactional_email, true, $filter, $args') is found 1 times:

  • /includes/class-wc-emails.php line 184
    		 * @param bool   $allow Whether to allow sending queued transactional emails.
    		 * @param string $filter Filter name.
    		 * @param array  $args Email args.
    		 */
    		if ( apply_filters( 'woocommerce_allow_send_queued_transactional_email', true, $filter, $args ) ) {
    			self::instance(); // Init self so emails exist.
    
    			// Ensure gateways are loaded in case they need to insert data into the emails.
    			WC()->payment_gateways();
    			WC()->shipping();