wp_check_php_version


wp_check_php_version ( No parameters )

Returns:
  • (array|false) { Array of PHP version data. False on failure. @type string $recommended_version The PHP version recommended by WordPress. @type string $minimum_version The minimum required PHP version. @type bool $is_supported Whether the PHP version is actively supported. @type bool $is_secure Whether the PHP version receives security updates. @type bool $is_acceptable Whether the PHP version is still acceptable or warnings should be shown and an update recommended. }
Defined at:
Change Log:
  • 5: .

Description

Checks if the user needs to update PHP.

Related Functions

wp_check_php_mysql_versions, wp_check_mysql_version, wp_check_browser_version, wp_get_wp_version, wp_kses_version

Top Google Results

User discussions

wpseek mobile