WordPress at a glance
function is not described

WP_Customize_Manager::autosaved() public WP 4.9.0

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

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

No Hooks.

Return

true|false. Is using autosaved changeset revision.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->autosaved();

Notes

  • See: WP_Customize_Manager::changeset_data()

Changelog

Since 4.9.0 Introduced.

Code of WP_Customize_Manager::autosaved() WP 5.7.2

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