woocommerce_allow_send_queued_transactional_email

woocommerce_allow_send_queued_transactional_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_allow_send_queued_transactional_email') is found 1 times:

  • /includes/class-wc-emails.php line 150
    	 * @param string $filter Filter name.
    	 * @param array  $args Email args (default: []).
    	 */
    	public static function send_queued_transactional_email( $filter = '', $args = array() ) {
    		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();