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
-
$query
array -
Version check query arguments.
version
stringWordPress version number.php
stringPHP version number.locale
stringThe locale to retrieve updates for.mysql
stringMySQL version number.local_package
stringThe value of the $wp_local_package global, when set.blogs
intNumber of sites on this WordPress installation.users
intNumber of users on this WordPress installation.multisite_enabled
intWhether this WordPress installation uses Multisite.initial_db_version
intDatabase 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 );
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |