\ BWP_Version

Class BWP_Version

Summary

Methods
Properties
Constants
warn_required_versions()
get_current_php_version()
get_current_php_version_id()
$php_ver
$wp_ver
No constants found
No protected methods found
No protected properties found
N/A

Properties

$php_ver

$php_ver : 

Default version constraints

$wp_ver

$wp_ver : 

Methods

warn_required_versions()

warn_required_versions(  $title,   $domain,   $php_ver = null,   $wp_ver = null) 

Parameters

$title
$domain
$php_ver
$wp_ver

get_current_php_version()

get_current_php_version(string  $version = '') : mixed

Get the current system's PHP version

If the first parameter is provided this will return whether or not the current system's PHP version is greater than or equal to the provided one

Parameters

string $version

Returns

mixed

string|bool

get_current_php_version_id()

get_current_php_version_id(integer  $version = null) : mixed

Get the current system's PHP version ID

If the first parameter is provided this will return whether or not the current system's PHP version is greater than or equal to the provided one

Parameters

integer $version

Returns

mixed

integer|bool