plugins_auto_update_enabled filter-hookWP 5.5.0

Filters whether plugins auto-update is enabled.

Usage

add_filter( 'plugins_auto_update_enabled', 'wp_kama_plugins_auto_update_enabled_filter' );

/**
 * Function for `plugins_auto_update_enabled` filter-hook.
 * 
 * @param bool $enabled True if plugins auto-update is enabled, false otherwise.
 *
 * @return bool
 */
function wp_kama_plugins_auto_update_enabled_filter( $enabled ){

	// filter...
	return $enabled;
}
$enabled(true|false)
True if plugins auto-update is enabled, false otherwise.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

wp_is_auto_update_enabled_for_type()
plugins_auto_update_enabled
wp-admin/includes/update.php 1099
return apply_filters( 'plugins_auto_update_enabled', $enabled );

Where the hook is used in WordPress

Usage not found.