Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: site_status_test_result

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
183            *
184            *         @type string $label The test label, for example `Performance`.
185            *         @type string $color Default `blue`. A string representing a color to use for the label.
186            *     }
187            *     @type string $description A more descriptive explanation of what the test looks for, and why it is important for the end user.
188            *     @type string $actions     An action to direct the user to where they can resolve the issue, if one exists.
189            *     @type string $test        The name of the test being ran, used as a reference point.
190            * }
191            */
192           return apply_filters( 'site_status_test_result', call_user_func( $callback ) );
193      }
195      /**
196       * Run the SQL version checks.
197       *
198       * These values are used in later tests, but the part of preparing them is more easily managed
199       * early in the class for ease of access and discovery.
200       *
201       * @since 5.2.0