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 |
min_WordPress_version(string $min_version, string $plugin_name) : \none
since | 0.1 |
---|
string
representing the minimum required version of WordPress, e.g. '3.3.0'
string
Name of the plugin for messaging purposes
\none
Exit with messaging if version is too oldmin_php_version(string $min_version, string $plugin_name) : \none
since | 0.1 |
---|
string
representing the minimum required version of PHP, e.g. '5.3.2'
string
Name of the plugin for messaging purposes
\none
Exit with messaging if PHP version is too old