WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
событие не описано

woocommerce_email_header хук-событие . WC 1.0

Executes the e-mail header.

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

add_action( 'woocommerce_email_header', 'action_function_name_5500', 10, 2 );
function action_function_name_5500( $email_heading, $email ){
	// action...
}
$email_heading
-
$email
-

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

В файле: /templates/emails/customer-invoice.php
woocommerce_email_header
woocommerce/templates/emails/customer-invoice.php 27
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/includes/class-wc-emails.php 334
do_action( 'woocommerce_email_header', $email_heading, null );
woocommerce/templates/emails/customer-completed-order.php 25
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/customer-refunded-order.php 23
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/customer-reset-password.php 24
<?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/customer-on-hold-order.php 23
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/admin-failed-order.php 25
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/customer-new-account.php 20
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/customer-processing-order.php 25
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/customer-note.php 25
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/admin-new-order.php 23
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/templates/emails/admin-cancelled-order.php 25
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/packages/woocommerce-blocks/templates/emails/customer-new-account-blocks.php 14
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
woocommerce/packages/woocommerce-admin/includes/emails/html-admin-report-export-download.php 13
do_action( 'woocommerce_email_header', $email_heading, $email );

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

woocommerce/templates/emails/customer-invoice.php 193
add_action( 'woocommerce_email_header', array( $this, 'email_header' ) );