wp_is_php_version_acceptable

wp_is_php_version_acceptable

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_is_php_version_acceptable') is found 1 times:

  • /wp-admin/includes/misc.php line 1645

    *
    * @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 7.2. Check if the current version is lower.
    if ( version_compare( $version, ‘7.2’, ‘<' ) ) { [/php]