WC_Settings_Shipping::get_settings_for_default_section()protectedWC 1.0

Get settings for the default section.

The original implementation of 'get_settings' was returning the settings for the "Options" section when the supplied value for $current_section was ''.

Method of the class: WC_Settings_Shipping{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_settings_for_default_section();

WC_Settings_Shipping::get_settings_for_default_section() code WC 8.7.0

protected function get_settings_for_default_section() {
	return $this->get_settings_for_options_section();
}