On this page
apply_filters( 'core_version_check_query_args', array $query )
Filters the query arguments sent as part of the core version check.
Description
WARNING: Changing this data may result in your site not receiving security updates.
Please exercise extreme caution.
Parameters
$queryarray-
Version check query arguments.
versionstringWordPress version number.phpstringPHP version number.localestringThe locale to retrieve updates for.mysqlstringMySQL version number.local_packagestringThe value of the $wp_local_package global, when set.blogsintNumber of sites on this WordPress installation.usersintNumber of users on this WordPress installation.multisite_enabledintWhether this WordPress installation uses Multisite.initial_db_versionintDatabase version of WordPress at time of installation.
Source
File: wp-includes/update.php. View all references
$query = apply_filters( 'core_version_check_query_args', $query );
Related
Used By
| Used By | Description |
|---|---|
| wp_version_check() wp-includes/update.php | Checks WordPress version against the newest version. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/core_version_check_query_args