woocommerce_email_subject_backorder filter-hookWC 3.0.0

Filter the subject of the backorder notification email.

Usage

add_filter( 'woocommerce_email_subject_backorder', 'wp_kama_woocommerce_email_subject_backorder_filter', 10, 3 );

/**
 * Function for `woocommerce_email_subject_backorder` filter-hook.
 * 
 * @param string $subject The email subject.
 * @param array  $args    Arguments.
 * @param null   $null    Unused.
 *
 * @return string
 */
function wp_kama_woocommerce_email_subject_backorder_filter( $subject, $args, $null ){

	// filter...
	return $subject;
}
$subject(string)
The email subject.
$args(array)
Arguments.
$null(null)
Unused.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Emails::backorder()
woocommerce_email_subject_backorder
woocommerce/includes/class-wc-emails.php 1177
apply_filters( 'woocommerce_email_subject_backorder', $subject, $args, null ),

Where the hook is used in WooCommerce

Usage not found.