WC_Settings_Page::save_settings_for_current_section
Save settings for current section.
Метод класса: WC_Settings_Page{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->save_settings_for_current_section();
Код WC_Settings_Page::save_settings_for_current_section() WC Settings Page::save settings for current section WC 10.7.0
protected function save_settings_for_current_section() {
global $current_section;
// We can't use "get_settings_for_section" here
// for compatibility with derived classes overriding "get_settings".
$settings = $this->get_settings( $current_section );
WC_Admin_Settings::save_fields( $settings );
}