WP_Site_Health::check_wp_version_check_exists

SummerySummery

Test if wp_version_check is blocked.

Syntax

WP_Site_Health::check_wp_version_check_exists()

DescriptionDescription

It’s possible to block updates with the wp_version_check filter, but this can’t be checked during an AJAX call, as the filter is never introduced then.

This filter overrides a normal page request if it’s made by an admin through the AJAX call with the right query argument to check for this.

SourceSource

File: wp-admin/includes/class-wp-site-health.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top