WordPress at Your Fingertips
function is not described

WC_Settings_Page::save_settings_for_current_section() protected WC 1.0

Save settings for current section.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Settings_Page::save_settings_for_current_section() WC 5.9.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 );
}