WC_Settings_Page::save_settings_for_current_section()protectedWC 1.0

Save settings for current section.

Method of the class: WC_Settings_Page{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Settings_Page::save_settings_for_current_section() code WC 8.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 );
}