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

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

add_filter( 'woocommerce_email_intro_content', 'wp_kama_woocommerce_email_intro_content_filter', 10, 2 );

/**
 * Function for `woocommerce_email_intro_content` filter-hook.
 * 
 * @param  $intro_content 
 * @param  $notification  
 *
 * @return 
 */
function wp_kama_woocommerce_email_intro_content_filter( $intro_content, $notification ){

	// filter...
	return $intro_content;
}
$intro_content
-
$notification
-

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

В файле: /templates/emails/plain/customer-stock-notification-verified.php
woocommerce_email_intro_content
woocommerce/templates/emails/plain/customer-stock-notification-verified.php 28
echo esc_html( wp_strip_all_tags( wptexturize( apply_filters( 'woocommerce_email_intro_content', $intro_content, $notification ) ) ) ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
woocommerce/templates/emails/plain/customer-stock-notification.php 28
echo esc_html( wp_strip_all_tags( wptexturize( apply_filters( 'woocommerce_email_intro_content', $intro_content, $notification ) ) ) ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
woocommerce/templates/emails/plain/customer-stock-notification-verify.php 28
echo esc_html( wp_strip_all_tags( wptexturize( apply_filters( 'woocommerce_email_intro_content', $intro_content, $notification ) ) ) ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment

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

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