woocommerce_email_settings_before
Action hook fired before displaying email settings.
Usage
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(string)
- The email object
Where the hook is called
woocommerce_email_settings_before
woocommerce/includes/emails/class-wc-email.php 1482
do_action( 'woocommerce_email_settings_before', $this );