wordpress / latest / hooks / core_version_check_query_args.html

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.
  • versionstring
    WordPress version number.
  • phpstring
    PHP version number.
  • localestring
    The locale to retrieve updates for.
  • mysqlstring
    MySQL version number.
  • local_packagestring
    The value of the $wp_local_package global, when set.
  • blogsint
    Number of sites on this WordPress installation.
  • usersint
    Number of users on this WordPress installation.
  • multisite_enabledint
    Whether this WordPress installation uses Multisite.
  • initial_db_versionint
    Database 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 );

Used By

Used By Description

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