Filters the array representing all the modules we wish to test for.
Parameters
$modulesarray- An associative array of modules to test for.
...$0arrayAn associative array of module properties used during testing.
One of either$functionor$extensionmust be provided, or they will fail by default.functionstringOptional. A function name to test for the existence of.extensionstringOptional. An extension to check if is loaded in PHP.constantstringOptional. A constant name to check for to verify an extension exists.classstringOptional. A class name to check for to verify an extension exists.requiredboolIs this a required feature or not.fallback_forstringOptional. The module this module replaces as a fallback.
Source
$modules = apply_filters( 'site_status_test_php_modules', $modules );Changelog
User Contributed Notes
You must log in before being able to contribute a note or feedback.