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

Action hook fired before displaying email settings.

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

add_action( 'woocommerce_email_settings_before', 'wp_kama_woocommerce_email_settings_before_action' );

/**
 * Function for `woocommerce_email_settings_before` action-hook.
 * 
 * @param string $email The email object
 *
 * @return void
 */
function wp_kama_woocommerce_email_settings_before_action( $email ){

	// action...
}
$email(строка)
The email object

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

WC_Email::admin_options()
woocommerce_email_settings_before
woocommerce/includes/emails/class-wc-email.php 987
do_action( 'woocommerce_email_settings_before', $this );

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

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