MLATest

Class MLA (Media Library Assistant) Test provides basic run-time tests to ensure the plugin can run in the current WordPress envrionment.

package

Media Library Assistant

since 0.1

Methods

Initialization function, similar to __construct()

initialize() : void
static
since 0.60

Test that your PHP version is at least that of the $min_php_version

min_php_version( $min_version) : string
static
since 0.1

Arguments

$min_version

Response

string

'' if pass else error message

Test that your WordPress version is at least that of the $min_version

min_WordPress_version( $min_version) : string
static
since 0.1

Arguments

$min_version

Response

string

'' if pass else error message

Properties

True if WordPress version is 3.5.x

wp_3dot5 : boolean
static
since
var

Type(s)

boolean

True if WordPress version is 4.3 or newer

wp_4dot3_plus : boolean
static
since
var

Type(s)

boolean