WordPress at Your Fingertips
function is not described

WC_Settings_Shipping::get_settings_for_default_section() protected WC 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 ''.

{} It's a method of the class: WC_Settings_Shipping{}

No Hooks.




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

Code of WC_Settings_Shipping::get_settings_for_default_section() WC 5.9.0

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