WC_Settings_Payment_Gateways::get_settings_for_default_section
Get settings array.
This is just for backward compatibility with the rest of the codebase (primarily API responses).
Метод класса: WC_Settings_Payment_Gateways{}
Хуков нет.
Возвращает
Массив.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_settings_for_default_section();
Код WC_Settings_Payment_Gateways::get_settings_for_default_section() WC Settings Payment Gateways::get settings for default section WC 10.3.5
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',
),
);
}