woocommerce_email_stock_notification_emails_to_style filter-hookWC 10.2.0

woocommerce_email_stock_notification_emails_to_style

Usage

add_filter( 'woocommerce_email_stock_notification_emails_to_style', 'wp_kama_woocommerce_email_stock_notification_emails_to_style_filter' );

/**
 * Function for `woocommerce_email_stock_notification_emails_to_style` filter-hook.
 * 
 * @param  $self::$email_ids 
 *
 * @return 
 */
function wp_kama_woocommerce_email_stock_notification_emails_to_style_filter( $self::$email_ids ){

	// filter...
	return $self::$email_ids;
}
$self::$email_ids
-

Changelog

Since 10.2.0 Introduced.

Where the hook is called

EmailManager::add_stylesheets()
woocommerce_email_stock_notification_emails_to_style
woocommerce/src/Internal/StockNotifications/Emails/EmailManager.php 146
if ( ( is_null( $email ) || ! in_array( $email->id, (array) apply_filters( 'woocommerce_email_stock_notification_emails_to_style', self::$email_ids ), true ) ) ) {

Where the hook is used in WooCommerce

Usage not found.