Used By
Used By | Description |
---|---|
wp-admin/includes/misc.php: wp_check_php_version() | Checks if the user needs to update PHP. |
Filters whether the active PHP version is considered acceptable by WordPress.
Returning false will trigger a PHP version 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 version acceptable, ensuring that this filter can only make this check stricter, but not loosen it.
(bool) Whether the PHP version is considered acceptable. Default true.
(string) PHP version checked.
Version | Description |
---|---|
5.1.1 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_is_php_version_acceptable