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).
Method of the class: WC_Settings_Payment_Gateways{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $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 code WC 10.3.6
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',
),
);
}