WP_Customize_Setting::end_saving │ private │ WP 7.1.5

Restores the state changed while saving the setting.

Method of the class: WP_Customize_Setting{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->end_saving();

Notes

See: WP_Customize_Setting::save()

Changelog

Since 7.1.5 Introduced.

WP_Customize_Setting::end_saving() code WP 7.1.5

private function end_saving() {
	$this->is_saving = false;
	if ( 'option' === $this->type ) {
		$this->resume_option_preview();
	}
}