woocommerce_email_settings_after
Action hook fired after displaying email settings.
Использование
add_action( 'woocommerce_email_settings_after', 'wp_kama_woocommerce_email_settings_after_action' );
/**
* Function for `woocommerce_email_settings_after` action-hook.
*
* @param string $email The email object
*
* @return void
*/
function wp_kama_woocommerce_email_settings_after_action( $email ){
// action...
}
- $email(строка)
- The email object
Где вызывается хук
woocommerce_email_settings_after
woocommerce/includes/emails/class-wc-email.php 1651
do_action( 'woocommerce_email_settings_after', $this );
Где используется хук в WooCommerce
woocommerce/includes/admin/settings/class-wc-settings-emails.php 47
add_action( 'woocommerce_email_settings_after', array( $this, 'email_preview_single' ) );