woocommerce_email_subject_no_stock хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_email_subject_no_stock', 'wp_kama_woocommerce_email_subject_no_stock_filter', 10, 3 );

/**
 * Function for `woocommerce_email_subject_no_stock` filter-hook.
 * 
 * @param  $subject 
 * @param  $product 
 * @param  $null    
 *
 * @return 
 */
function wp_kama_woocommerce_email_subject_no_stock_filter( $subject, $product, $null ){

	// filter...
	return $subject;
}
$subject
-
$product
-
$null
-

Где вызывается хук

WC_Emails::no_stock()
woocommerce_email_subject_no_stock
woocommerce/includes/class-wc-emails.php 739
apply_filters( 'woocommerce_email_subject_no_stock', $subject, $product, null ),

Где используется хук в WooCommerce

Использование не найдено.