WordPress at a glance
filter is not described

site_status_test_php_modules filter-hook . WP 5.2.0

An array representing all the modules we wish to test for.


add_filter( 'site_status_test_php_modules', 'filter_function_name_9544' );
function filter_function_name_9544( $modules ){
	// filter...

	return $modules;
An associated array of modules to test for.
array $module {
	An associated array of module properties used during testing.
	One of either `$function` or `$extension` must be provided, or they will fail by default.

string $function Optional. A function name to test for the existence of. string $extension Optional. An extension to check if is loaded in PHP. bool $required Is this a required feature or not. string $fallback_for Optional. The module this module replaces as a fallback.


Since 5.2.0 Introduced.

Where the hook is called

wp-admin/includes/class-wp-site-health.php 846
$modules = apply_filters( 'site_status_test_php_modules', $modules );

Where the hook is used (in WP core)

Usage not found!