woocommerce_email_preheader
woocommerce_email_preheader
Appears in: woocommerce.9.9.5
Hook Type: filter
Displaying hooks found in version: woocommerce.9.9.5apply_filters('woocommerce_email_preheader') is found 1 times:
- /includes/emails/class-wc-email.php line 520
* @param string $preheader Preheader of the email. * @param object|bool $object The object (ie, product or order) this email relates to, if any. * @param WC_Email $email WC_Email instance managing the email. */ $preheader = apply_filters( 'woocommerce_email_preheader' . $this->id, $this->format_string( $this->get_option_or_transient( 'preheader', '' ) ), $this->object, $this ); if ( $this->block_email_editor_enabled ) { $preheader = $this->personalizer->personalize_transactional_content( $preheader, $this ); } return $preheader; }