WC_Settings_Payment_Gateways_React::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_React{}
Хуков нет.
Возвращает
Массив
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_settings_for_default_section();
Код WC_Settings_Payment_Gateways_React::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', ), ); }