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 |
---|---|
162 | * |
163 | * @param string $label The test label, for example `Performance`. |
164 | * @param string $color Default `blue`. A string representing a color to use for the label. |
165 | * } |
166 | * @param string $description A more descriptive explanation of what the test looks for, and why it is important for the end user. |
167 | * @param string $actions An action to direct the user to where they can resolve the issue, if one exists. |
168 | * @param string $test The name of the test being ran, used as a reference point. |
169 | * } |
170 | */ |
171 | return apply_filters( 'site_status_test_result', call_user_func( $callback ) ); |
172 | } |
173 |
|
174 | /** |
175 | * Run the SQL version checks. |
176 | * |
177 | * These values are used in later tests, but the part of preparing them is more easily managed early |
178 | * in the class for ease of access and discovery. |
179 | * |
180 | * @since 5.2.0 |