WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 167 | * @type int $blogs Number of sites on this WordPress installation. |
| 168 | * @type int $users Number of users on this WordPress installation. |
| 169 | * @type int $multisite_enabled Whether this WordPress installation uses Multisite. |
| 170 | * @type int $initial_db_version Database version of WordPress at time of installation. |
| 171 | * @type array $extensions List of PHP extensions and their versions. |
| 172 | * @type array $platform_flags List containing the operating system name and bit support. |
| 173 | * @type array $image_support List of image formats supported by GD and Imagick. |
| 174 | * } |
| 175 | */ |
| 176 | $query = apply_filters( 'core_version_check_query_args', $query ); |
| 177 | |
| 178 | $post_body = array( |
| 179 | 'translations' => wp_json_encode( $translations ), |
| 180 | ); |
| 181 | |
| 182 | if ( is_array( $extra_stats ) ) { |
| 183 | $post_body = array_merge( $post_body, $extra_stats ); |
| 184 | } |
| 185 | |