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
See also
Return
(bool) Is using autosaved changeset revision.
Source
File: wp-includes/class-wp-customize-manager.php
public function autosaved() { return $this->autosaved; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |