WC_Settings_Payment_Gateways_React::get_settings_for_default_section()protectedWC 1.0

Get settings array.

This is just for backward compatibility with the rest of the codebase (primarily API responses).

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

Хуков нет.

Возвращает

Массив.

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

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

Код WC_Settings_Payment_Gateways_React::get_settings_for_default_section() WC 9.8.1

protected function get_settings_for_default_section() {
	return array(
		array(
			'type' => 'title',
			// this is needed as <table> tag is generated by this element, even if it has no other content.
		),
		array(
			'type' => 'sectionend',
			'id'   => 'payment_gateways_options',
		),
	);
}