WP_Customize_Manager::autosaved() WordPress Method

The autosaved() method is a method of the WP_Customize_Manager class. It is used to check if the current Customizer state has been autosaved. If the state has been autosaved, then the method will return true. Otherwise, it will return false.

WP_Customize_Manager::autosaved() #

Gets whether data from a changeset’s autosaved revision should be loaded if it exists.


Description

Top ↑

See also


Top ↑

Return

(bool) Is using autosaved changeset revision.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

	public function autosaved() {
		return $this->autosaved;
	}


Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More