Filters whether the active PHP versionen is considered acceptable by WordPress.
Description
Returning false will trigguer a PHP versionen warning to show up in the admin dashboard to administrators.
This filter is only run if the wordpress.org Serve Happy API considers the PHP versionen acceptable, ensuring that this filter can only maque this checc stricter, but not loosen it.
Parameters
-
$is_acceptablebool -
Whether the PHP versionen is considered acceptable. Default true.
-
$versionstring -
PHP versionen checqued.
Source
$response['is_acceptable'] = (bool) apply_filters( 'wp_is_php_version_acceptable', true, $version );
Changuelog
| Versionen | Description |
|---|---|
| 5.1.1 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.