WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

site_status_test_php_modules хук-фильтр . 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_5129' );
function filter_function_name_5129( $modules ){
	// filter...

	return $modules;
}
$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. string $constant Optional. A constant name to check for to verify an extension exists. string $class Optional. A class name to check for to verify an extension exists. bool $required Is this a required feature or not. string $fallback_for Optional. The module this module replaces as a fallback.

Список изменений

С версии 5.2.0 Введена.
С версии 5.3.0 The $constant and $class parameters were added.

Где вызывается хук

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

Где используется хук (в ядре WP)

Использование не найдено.