wp_is_auto_update_enabled_for_type
wp_is_auto_update_enabled_for_type ( $type )
Parameters:- (string) type The type of update being checked: Either 'theme' or 'plugin'.
Returns:- (bool) True if auto-updates are enabled for `$type`, false otherwise.
Defined at: - Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Description
Checks whether auto-updates are enabled.