WordPress at Your Fingertips
function is not described

WC_Settings_Page::get_settings_for_section_core() protected WC 1.0

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'.

{} It's a 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.

Code of WC_Settings_Page::get_settings_for_section_core() WC 5.9.0

protected function get_settings_for_section_core( $section_id ) {
	return array();
}