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

Метод класса: WC_Settings_Shipping{}

Хуков нет.

Возвращает

Массив.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_settings_for_default_section();

Код WC_Settings_Shipping::get_settings_for_default_section() WC 7.3.0

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