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).
Method of the class: WC_Settings_Payment_Gateways_React{}
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_React::get_settings_for_default_section() WC Settings Payment Gateways React::get settings for default section code WC 9.8.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', ), ); }