WC_Email::get_preheader_fieldprotectedWC 1.0

Get the preheader field definition.

Method of the class: WC_Email{}

No Hooks.

Returns

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_preheader_field();

WC_Email::get_preheader_field() code WC 10.8.1

protected function get_preheader_field() {
	return array(
		'title'       => __( 'Preheader', 'woocommerce' ),
		'description' => __( 'Shown as a preview in the Inbox, next to the subject line. (Max 150 characters).', 'woocommerce' ),
		'placeholder' => '',
		'type'        => 'text',
		'default'     => '',
		'desc_tip'    => true,
	);
}