WC_Settings_Page::get_settings_for_section_core()
Get the settings for a given section. This method is invoked from 'get_settings_for_section' when no 'get_settings_for_{current_section}_section' method exists in the class.
When overriding, note that the 'woocommerce_get_settings_' filter must NOT be triggered, as this is already done by 'get_settings_for_section'.
Method of the class: WC_Settings_Page{}
No Hooks.
Return
Array
. Settings array, each item being an associative array representing a setting.
Usage
// protected - for code of main (parent) or child class $result = $this->get_settings_for_section_core( $section_id );
- $section_id(string) (required)
- The section name to get the settings for.
WC_Settings_Page::get_settings_for_section_core() WC Settings Page::get settings for section core code WC 7.5.1
protected function get_settings_for_section_core( $section_id ) { return array(); }