WPDev.one
Core Function
View Source on Trac ↗

wp_is_auto_update_enabled_for_type()

wp_is_auto_update_enabled_for_type( mixed $type )

Checks whether auto-updates are enabled.

Parameters 1 required

Name / Type Description
$type
string

The type of update being checked: Either 'theme' or 'plugin'.

Required

Return Value

(bool)
True if auto-updates are enabled for `$type`, false otherwise.

Function Information

Since Version
5.5.0
Source File
wp-admin/includes/update.php
Advertisement