WC_Email::get_preheader_field │ protected │ WC 1.0

Get the preheader field definition.

Метод класса: WC_Email{}

Хуков нет.

Возвращает

array.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_preheader_field();

Код WC_Email::get_preheader_field() WC 11.2.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,
	);
}