Filters whether the active PHP version is considered acceptable by WordPress.
$is_acceptablebool$versionstringwp-admin/includes/misc.php:1625wp_check_php_version() * * @since 5.1.1 * * @param bool $is_acceptable Whether the PHP version is considered acceptable. Default true. * @param string $version PHP version checked. */ $response['is_acceptable'] = (bool) apply_filters( 'wp_is_php_version_acceptable', true, $version ); } $response['is_lower_than_future_minimum'] = false; // The minimum supported PHP version will be updated to at least 8.0 in the future. Check if the current version is lower. if ( version_compare( $version, '8.0', '<' ) ) {Introduced in 5.1.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.