woocommerce_email_subject_no_stock

woocommerce_email_subject_no_stock

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_email_subject_no_stock') is found 1 times:

  • /includes/class-wc-emails.php line 739
    		$message = sprintf( __( '%s is out of stock.', 'woocommerce' ), html_entity_decode( wp_strip_all_tags( $product->get_formatted_name() ), ENT_QUOTES, get_bloginfo( 'charset' ) ) );
    
    		wp_mail(
    			apply_filters( 'woocommerce_email_recipient_no_stock', get_option( 'woocommerce_stock_email_recipient' ), $product, null ),
    			apply_filters( 'woocommerce_email_subject_no_stock', $subject, $product, null ),
    			apply_filters( 'woocommerce_email_content_no_stock', $message, $product ),
    			apply_filters( 'woocommerce_email_headers', '', 'no_stock', $product, null ),
    			apply_filters( 'woocommerce_email_attachments', array(), 'no_stock', $product, null )
    		);
    	}