woocommerce_email_content_backorder filter-hookWC 3.0.0

Filter the content of the backorder notification email.

Usage

add_filter( 'woocommerce_email_content_backorder', 'wp_kama_woocommerce_email_content_backorder_filter', 10, 2 );

/**
 * Function for `woocommerce_email_content_backorder` filter-hook.
 * 
 * @param string $message The email content.
 * @param array  $args    Arguments.
 *
 * @return string
 */
function wp_kama_woocommerce_email_content_backorder_filter( $message, $args ){

	// filter...
	return $message;
}
$message(string)
The email content.
$args(array)
Arguments.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Emails::backorder()
woocommerce_email_content_backorder
woocommerce/includes/class-wc-emails.php 1186
apply_filters( 'woocommerce_email_content_backorder', $message, $args ),

Where the hook is used in WooCommerce

Usage not found.