WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

WP_Automatic_Updater::is_disabled() public WP 3.7.0

Whether the entire automatic updater is disabled.

{} Это метод класса: WP_Automatic_Updater{}

Хуки из метода

Null. Ничего.


$WP_Automatic_Updater = new WP_Automatic_Updater();

Список изменений

С версии 3.7.0 Введена.

Код WP_Automatic_Updater::is_disabled() WP 5.6.2

public function is_disabled() {
	// Background updates are disabled if you don't want file changes.
	if ( ! wp_is_file_mod_allowed( 'automatic_updater' ) ) {
		return true;

	if ( wp_installing() ) {
		return true;

	// More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.

	 * Filters whether to entirely disable background updates.
	 * There are more fine-grained filters and controls for selective disabling.
	 * This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name.
	 * This also disables update notification emails. That may change in the future.
	 * @since 3.7.0
	 * @param bool $disabled Whether the updater should be disabled.
	return apply_filters( 'automatic_updater_disabled', $disabled );