WC_Emails::email_header
Get the email header.
Method of the class: WC_Emails{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Emails = new WC_Emails(); $WC_Emails->email_header( $email_heading );
- $email_heading(mixed) (required)
- Heading for the email.
WC_Emails::email_header() WC Emails::email header code WC 10.5.0
public function email_header( $email_heading ) {
wc_get_template(
'emails/email-header.php',
array(
'email_heading' => $email_heading,
'store_name' => get_bloginfo( 'name', 'display' ),
)
);
}