get_current_version() get_current_version() : mixed Gets current MainWP Plugin version. Returns mixed — $currentVersion verion number/
get_mainwp_version() get_mainwp_version() : mixed Gets current MainWP Dashboard version. Returns mixed — false|version
check_if_multisite() check_if_multisite() : boolean Checks if WP environment is Mutisilte or not. Returns boolean — true|false.
filesize_compare() filesize_compare(mixed $value1, mixed $value2, null $operator = null) : mixed Compares filesize. Parameters mixed $value1 First file size. mixed $value2 Second file size. null $operator Comparison operator. Returns mixed — version_compare() value.
curlssl_compare() curlssl_compare(mixed $version, null $operator) : mixed Compares cURL SSL Version. Parameters mixed $version CURL SSL version number. null $operator Comparison operator. Returns mixed — false|version
get_file_system_method() get_file_system_method() : string Gets file system method. Returns string — $fs File System Method.
get_wordpress_memory_limit() get_wordpress_memory_limit() : mixed Gets the WP_MEMORY_LIMIT value. Returns mixed — WP_MEMORY_LIMIT WordPress Memmory Limit.
get_curl_version() get_curl_version() : mixed Method get_curl_version() Get current cURL Version. Returns mixed — $curlversion['version'] Currently installed cURL Version.
get_curl_ssl_version() get_curl_ssl_version() : mixed Method get_curl_ssl_version() Get current SSL Version installed. Returns mixed — $curlversion['ssl_version'] Currently installed SSL version.
get_wordpress_version() get_wordpress_version() : mixed Method get_wordpress_version() Get current WordPress Version Returns mixed — $wp_version Current installed WordPress version
get_ssl_support() get_ssl_support() : mixed Method get_ssl_support() Get SSL Support. Returns mixed — Open SSL Extentions loaded.
get_ssl_warning() get_ssl_warning() : string Method get_ssl_warning() Get any SSL Warning Messages. Returns string — SSL Error message.
get_openssl_working_status() get_openssl_working_status() : boolean To verify openssl working. Returns boolean — Working status.
is_openssl_config_warning() is_openssl_config_warning() : boolean Method is_openssl_config_warning() Check if open ssl is configured correctly. Returns boolean — true|false.
get_curl_support() get_curl_support() : string Method get_curl_support() Get cURL Version. Returns string — cURL Version.
get_curl_timeout() get_curl_timeout() : string Method get_curl_timeout() Get cURL_Timeout value. Returns string — cURL_Timeout value.
get_php_version() get_php_version() : string Method get_php_version() Get PHP Version. Returns string — phpversion().
get_max_execution_time() get_max_execution_time() : string Method get_max_execution_time() Get MAX_EXECUTION_TIME. Returns string — MAX_EXECUTION_TIME.
get_max_input_time() get_max_input_time() : string Method get_max_execution_time() Get MAX_INPUT_TIME. Returns string — MAX_EXECUTION_TIME.
get_upload_max_filesize() get_upload_max_filesize() : string Method get_max_execution_time() Get MAX_UPLOAD_FILESIZE. Returns string — MAX_UPLOAD_FILESIZE.
get_post_max_size() get_post_max_size() : string Method get_max_execution_time() Get MAX_POST_SIZE. Returns string — MAX_POST_SIZE.
get_mysql_version() get_mysql_version() : string Method get_mysql_version() Get MySql Version. Returns string — MySQL Version.
get_php_memory_limit() get_php_memory_limit() : string Method get_php_memory_limit() Get PHP_MEMORY_LIMIT. Returns string — PHP_MEMORY_LIMIT.
get_os() get_os(boolean $return_value = false) : mixed Method get_os() Get Host OS. Parameters boolean $return_value = false. Returns mixed — PHP_OS.
get_output_buffer_size() get_output_buffer_size() : string Method get_output_buffer_size() Get putput buffer size. Returns string — Current output buffer Size.
get_php_safe_mode() get_php_safe_mode() : boolean Method get_php_safe_mode() Get PHP Safe Mode. Returns boolean — true|false.
get_server_gateway_interface() get_server_gateway_interface() Method get_server_gateway_interface() Get server gateway interface.
get_server_name() get_server_name(boolean $return_value = false) : string Method get_server_name() Get server name. Parameters boolean $return_value Return or not. Returns string — $_SERVER['SERVER_NAME'].
get_server_software() get_server_software(boolean $return_value = false) : string Method get_server_software() Get server software. Parameters boolean $return_value Return or not. Returns string — $_SERVER['SERVER_SOFTWARE'].
is_apache_server_software() is_apache_server_software() : boolean Method is_apache_server_software() Check if server software is apache. Returns boolean — True|false.
server_self_connect() server_self_connect() Method server_self_connect() Check if server self-connect is possible.
time_compare() time_compare(mixed $a, mixed $b) Compares time. Parameters mixed $a first time to compare. mixed $b second time to compare.
last_lines() last_lines(mixed $path, integer $line_count, integer $block_size = 512) : string Gets line count. Parameters mixed $path the error log file location. integer $line_count number of lines in the error log. integer $block_size block size. Returns string — Line Count.
mainwp_options() mainwp_options() : array Gets MainWP Set Options. Returns array — $options_value MainWP Options array.