WC_Email::get_cc_field()protectedWC 1.0

Get the cc field definition.

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

Хуков нет.

Возвращает

Массив.

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

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

Код WC_Email::get_cc_field() WC 9.8.2

protected function get_cc_field() {
	return array(
		'title'       => __( 'Cc(s)', 'woocommerce' ),
		'type'        => 'text',
		/* translators: %s: admin email */
		'description' => __( 'Enter Cc recipients (comma-separated) for this email.', 'woocommerce' ),
		'placeholder' => '',
		'default'     => '',
		'desc_tip'    => true,
	);
}