plugins_auto_update_enabled WordPress Filter Hook

The plugins_auto_update_enabled hook is used to set whether or not auto-updating is enabled for plugins. This hook is called when the auto-updates settings page is loaded, and takes a boolean value as its only parameter. If this value is set to true, auto-updating will be enabled for plugins; if it is set to false, auto-updating will be disabled.

apply_filters( 'plugins_auto_update_enabled', bool $enabled ) #

Filters whether plugins auto-update is enabled.


Parameters

$enabled

(bool)True if plugins auto-update is enabled, false otherwise.


Top ↑

Source

File: wp-admin/includes/update.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.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.