Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-site-health.php: WP_Site_Health::get_test_php_extensions() | Test if required PHP modules are installed on the host. |
An array representing all the modules we wish to test for.
(array) An associative array of modules to test for.
(array) An associative array of module properties used during testing. One of either $function
or $extension
must be provided, or they will fail by default.
(string) Optional. A function name to test for the existence of.
(string) Optional. An extension to check if is loaded in PHP.
(string) Optional. A constant name to check for to verify an extension exists.
(string) Optional. A class name to check for to verify an extension exists.
(bool) Is this a required feature or not.
(string) Optional. The module this module replaces as a fallback.
Version | Description |
---|---|
5.3.0 | The $constant and $class parameters were added. |
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_status_test_php_modules