LLMS_Admin_Builder::get_autosave_status()
Retrieve the current user’s builder autosave preferences
Description Description
Defaults to enabled for users who have never configured a setting value.
Return Return
(string) Either "yes" or "no".
Source Source
File: includes/admin/class.llms.admin.builder.php
protected static function get_autosave_status() { $autosave = get_user_option( 'llms_builder_autosave' ); $autosave = empty( $autosave ) ? 'yes' : $autosave; /** * Gets the status of autosave for the builder * * This can be configured on a per-user basis in the user's profile screen on the WP Admin Panel. * * @since 4.14.0 * * @param string $autosave Status of autosave for the current user. Either "yes" or "no". */ return apply_filters( 'llms_builder_autosave_enabled', $autosave ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.14.0 | Introduced. |