-
-
-
- curlssl_compare()
-
-
-
-
- Compare current cURL & SSL versions to required values.
-
-
- public
- static curlssl_compare(string $version, string $operator) : bool|int
-
-
-
- Parameters
-
- -
- $version
- : string
-
- -
-
Required values to compare to.
-
-
-
- -
- $operator
- : string
-
- -
-
-
-
-
-
-
-
- Return values
- bool|int
- —
- When using the optional operator argument, the function will return TRUE if the
-relationship is the one specified by the operator, FALSE otherwise. Returns -1 if the first version
-is lower than the second, 0 if they are equal, and 1 if the second is lower.
-
-
-
-
-
-
- get_class_name()
-
-
-
-
- Method get_class_name()
-
-
- public
- static get_class_name() : string
-
-
-
-
-
-
- Return values
- string
- —
-
-
-
-
-
-
- get_curl_ssl_version()
-
-
-
-
- Get curl ssl version.
-
-
- public
- static get_curl_ssl_version() : string
-
-
-
-
-
-
- Return values
- string
- —
-
-
-
-
-
-
- get_curl_support()
-
-
-
-
- Check if PHP class curl_version() is enabled.
-
-
- public
- static get_curl_support() : bool
-
-
-
-
-
-
- Return values
- bool
- —
- If 'curl_version' function exists, return true, if not, return false.
-
-
-
-
-
-
- get_curl_version()
-
-
-
-
- Get current cURL Version.
-
-
- public
- static get_curl_version() : string
-
-
-
-
-
-
- Return values
- string
- —
-
-
-
-
-
-
- get_db_size()
-
-
-
-
- Get db size.
-
-
- public
- static get_db_size() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return current db size.
-
-
-
-
-
-
- get_file_system_method()
-
-
-
-
- Get file system method.
-
-
- public
- static get_file_system_method() : string
-
-
-
-
-
-
- Return values
- string
- —
- $fs The returned file system method.
-
-
-
-
-
-
- get_my_sql_version()
-
-
-
-
- Get current MySQL version.
-
-
- public
- static get_my_sql_version() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return the current MySQL version.
-
-
-
-
-
-
- get_openssl_working_status()
-
-
-
-
- To verify openssl working.
-
-
- public
- static get_openssl_working_status() : bool
-
-
-
-
-
-
- Return values
- bool
- —
-
-
-
-
-
-
- get_php_memory_limit()
-
-
-
-
- Get current PHP memory limit.
-
-
- public
- static get_php_memory_limit() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return current PHP memory limit.
-
-
-
-
-
-
- is_mainwp_pages()
-
-
-
-
- Method is_mainwp_pages()
-
-
- public
- static is_mainwp_pages() : bool
-
- Get the current page and check it for "mainwp_".
-
-
-
-
-
- Return values
- bool
- —
-
-
-
-
-
-
- render_connection_details()
-
-
-
-
- Render the connection details page content.
-
-
- public
- static render_connection_details() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Branding::get_branding_title()
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_error_log()
-
-
-
-
- Render the error log content.
-
-
- public
- static render_error_log() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_last_lines()
-
-
Render the error log last lines.
-
-
-
- -
- uses
-
- -
- wp_kses_post()
-
-
Sanitizes content for allowed HTML tags for post content.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Branding::get_branding_title()
-
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/wp_kses_post/
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_error_page() Render the Error log page.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_page()
-
-
-
-
- Render the Server Information page.
-
-
- public
- static render_page() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_page_js()
-
-
Render JavaScrip code for the Server Information page.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_server_infor()
-
-
Render server information.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_cron()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_error_page()
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_warning_text()
-
-
-
-
- Render warning text.
-
-
- public
- static render_warning_text([string $errorType = self::WARNING ]) : string
-
-
-
- Parameters
-
- -
- $errorType
- : string
- = self::WARNING
- -
-
-
-
-
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_row_sec() Render the server information check secondary row.
-
-
-
-
-
- Return values
- string
- —
-
-
-
-
-
-
- check()
-
-
-
-
- Check Child Site system variables for any issues.
-
-
- protected
- static check(string $pCompare, string $pVersion, string $pGetter[, string $pExtraCompare = null ][, string $pExtraVersion = null ][, bool $sizeCompare = false ]) : bool|int
-
-
-
- Parameters
-
- -
- $pCompare
- : string
-
- -
-
-
-
- -
- $pVersion
- : string
-
- -
-
-
-
- -
- $pGetter
- : string
-
- -
-
The method to grab the data with.
-
-
-
- -
- $pExtraCompare
- : string
- = null
- -
-
Extra comparison operator.
-
-
-
- -
- $pExtraVersion
- : string
- = null
- -
-
Extra version to compare to.
-
-
-
- -
- $sizeCompare
- : bool
- = false
- -
-
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_class_name()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::filesize_compare()
-
-
-
-
-
-
- Return values
- bool|int
- —
- When using the optional operator argument, the function will return TRUE if the
-relationship is the one specified by the operator, FALSE otherwise. Returns -1 if the first version
-is lower than the second, 0 if they are equal, and 1 if the second is lower.
-
-
-
-
-
-
- check_if_multisite()
-
-
-
-
- Check if in multisite WordPress environment.
-
-
- protected
- static check_if_multisite() : bool
-
-
-
-
-
-
- Return values
- bool
- —
- If multisite detected, return false, if not, return true.
-
-
-
-
-
-
- check_mainwp_directory()
-
-
-
-
- Check if MainWP Directory is writeable.
-
-
- protected
- static check_mainwp_directory([string &$message = '' ][, string &$path = '' ]) : bool
-
-
-
- Parameters
-
- -
- $message
- : string
- = ''
- -
-
Return message - Directory not found, Directory not writable, writeable.
-
-
-
- -
- $path
- : string
- = ''
- -
-
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Helper::get_mainwp_dir()
-
-
-
-
- -
- uses
-
- -
- MainWP_Helper::get_wp_filesystem()
-
-
-
-
- -
- uses
-
- -
- MainWP_Exception::getMessage()
-
-
-
-
-
-
- Return values
- bool
- —
- TRUE if exists & writeable, FALSE if not.
-
-
-
-
-
-
- filesize_compare()
-
-
-
-
- Compare filesizes.
-
-
- protected
- static filesize_compare(string $value1, string $value2[, string $operator = null ]) : bool|int
-
-
-
- Parameters
-
- -
- $value1
- : string
-
- -
-
First value to compare.
-
-
-
- -
- $value2
- : string
-
- -
-
Second value to compare.
-
-
-
- -
- $operator
- : string
- = null
- -
-
-
-
-
-
-
-
- Return values
- bool|int
- —
- When using the optional operator argument, the function will return TRUE if the
-relationship is the one specified by the operator, FALSE otherwise. Returns -1 if the first version
-is lower than the second, 0 if they are equal, and 1 if the second is lower.
-
-
-
-
-
-
- get_architecture()
-
-
-
-
- Get System architecture.
-
-
- protected
- static get_architecture() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_bzip_enabled()
-
-
-
-
- Check if PHP function bzopen is enabled.
-
-
- protected
- static get_bzip_enabled() : bool
-
-
-
-
-
-
- Return values
- bool
- —
- If 'bzopen' function exists, return true, if not, return false.
-
-
-
-
-
-
- get_complete_url()
-
-
-
-
- Get server complete URL.
-
-
- protected
- static get_complete_url() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_curl_timeout()
-
-
-
-
- Get current cURL Timeout.
-
-
- protected
- static get_curl_timeout() : int
-
-
-
-
-
-
- Return values
- int
- —
- Current cURL timeout value.
-
-
-
-
-
-
- get_current_page_uri()
-
-
-
-
- Get current page URL.
-
-
- protected
- static get_current_page_uri() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_current_version()
-
-
-
-
- Get the current MainWP Child plugin version.
-
-
- protected
- static get_current_version() : string
-
-
-
-
-
-
- Return values
- string
- —
- $currentVersion The MainWP Child plugin current version.
-
-
-
-
-
-
- get_gzip_enabled()
-
-
-
-
- Check if PHP function gzopen is enabled.
-
-
- protected
- static get_gzip_enabled() : bool
-
-
-
-
-
-
- Return values
- bool
- —
- If 'gzopen' function exists, return true, if not, return false.
-
-
-
-
-
-
- get_http_host()
-
-
-
-
- Get server HTTP host.
-
-
- protected
- static get_http_host() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_https()
-
-
-
-
- Check if HTTPS is on.
-
-
- protected
- static get_https() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_loaded_php_extensions()
-
-
-
-
- Get loaded PHP extensions.
-
-
- protected
- static get_loaded_php_extensions() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_mainwp_version()
-
-
-
-
- Get the current MainWP Child plugin version.
-
-
- protected
- static get_mainwp_version() : string|bool
-
-
-
-
-
-
- Return values
- string|bool
- —
- Most recent MainWP Child version or FALSE.
-
-
-
-
-
-
- get_max_execution_time()
-
-
-
-
- Get max execution time.
-
-
- protected
- static get_max_execution_time() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return the PHP max execution time.
-
-
-
-
-
-
-
-
- Get max input time.
-
-
- protected
- static get_max_input_time() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return current maximum input time.
-
-
-
-
-
-
- get_os()
-
-
-
-
- Get operating system.
-
-
- protected
- static get_os() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_output_buffer_size()
-
-
-
-
- Get the current output buffer size.
-
-
- protected
- static get_output_buffer_size() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return the current back track limit.
-
-
-
-
-
-
- get_php_allow_url_fopen()
-
-
-
-
- Check if PHP Allow URL fopen is enabled.
-
-
- protected
- static get_php_allow_url_fopen() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_php_exif()
-
-
-
-
- Check if PHP exif is enabled.
-
-
- protected
- static get_php_exif() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_php_ip_tc()
-
-
-
-
- Check if PHP IP TC is enabled.
-
-
- protected
- static get_php_ip_tc() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_php_safe_mode()
-
-
-
-
- Check if PHP is in Safe Mode.
-
-
- protected
- static get_php_safe_mode() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_php_version()
-
-
-
-
- Get current PHP version.
-
-
- protected
- static get_php_version() : string
-
-
-
-
-
-
- Return values
- string
- —
-
-
-
-
-
-
- get_php_xml()
-
-
-
-
- Check if PHP XML is enabled.
-
-
- protected
- static get_php_xml() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_post_max_size()
-
-
-
-
- Get the max post size.
-
-
- protected
- static get_post_max_size() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return the post maximum filesize.
-
-
-
-
-
-
- get_remote_address()
-
-
-
-
- Get server remote address.
-
-
- protected
- static get_remote_address() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_remote_host()
-
-
-
-
- Get server remote host.
-
-
- protected
- static get_remote_host() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_remote_port()
-
-
-
-
- Get server remote port.
-
-
- protected
- static get_remote_port() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_script_file_name()
-
-
-
-
- Get server script filename.
-
-
- protected
- static get_script_file_name() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_accept_charset()
-
-
-
-
- Get server accepted charset.
-
-
- protected
- static get_server_accept_charset() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_getaway_interface()
-
-
-
-
- Get current server gateway interface.
-
-
- protected
- static get_server_getaway_interface() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_http_accept()
-
-
-
-
- Get server HTTP accept.
-
-
- protected
- static get_server_http_accept() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_ip()
-
-
-
-
- Get server IP.
-
-
- protected
- static get_server_ip() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_name()
-
-
-
-
- Get server name.
-
-
- protected
- static get_server_name() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_port()
-
-
-
-
- Get server port.
-
-
- protected
- static get_server_port() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_protocol()
-
-
-
-
- Get server protocol.
-
-
- protected
- static get_server_protocol() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_request_time()
-
-
-
-
- Get server request time.
-
-
- protected
- static get_server_request_time() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_server_software()
-
-
-
-
- Get server software.
-
-
- protected
- static get_server_software() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_sql_mode()
-
-
-
-
- Get current SQL mode.
-
-
- protected
- static get_sql_mode() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_ssl_support()
-
-
-
-
- Check if PHP extension OpenSSL is enabled.
-
-
- protected
- static get_ssl_support() : bool
-
-
-
-
-
-
- Return values
- bool
- —
- If 'openssl' extension is loaded, return true, if not, return false.
-
-
-
-
-
-
- get_ssl_warning()
-
-
-
-
- Get any SSL warnings.
-
-
- protected
- static get_ssl_warning() : false|string
-
-
-
-
-
-
- Return values
- false|string
- —
- Return error message if there are warnings, FALSE otherwise.
-
-
-
-
-
-
- get_upload_max_filesize()
-
-
-
-
- Get the max uplaod filesize.
-
-
- protected
- static get_upload_max_filesize() : string
-
-
-
-
-
-
- Return values
- string
- —
- Return the maximum upload filesize.
-
-
-
-
-
-
- get_user_agent()
-
-
-
-
- Get server user agent.
-
-
- protected
- static get_user_agent() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_wordpress_memory_limit()
-
-
-
-
- Get current WordPress memory limit.
-
-
- protected
- static get_wordpress_memory_limit() : string
-
-
-
-
-
-
- Return values
- string
- —
- Current WordPress memory limit.
-
-
-
-
-
-
- get_wordpress_version()
-
-
-
-
- Get current WordPress version.
-
-
- protected
- static get_wordpress_version() : string
-
-
-
-
-
-
- Return values
- string
- —
- $wp_version Current WordPress version.
-
-
-
-
-
-
- get_wp_root()
-
-
-
-
- Get WordPress root directory.
-
-
- protected
- static get_wp_root() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- get_zip_archive_enabled()
-
-
-
-
- Check if PHP class \ZipArchive is enabled.
-
-
- protected
- static get_zip_archive_enabled() : bool
-
-
-
-
-
-
- Return values
- bool
- —
- If '\ZipArchive' class exists, return true, if not, return false.
-
-
-
-
-
-
- mainwp_required_functions()
-
-
-
-
- Check for disabled PHP functions.
-
-
- protected
- static mainwp_required_functions() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- memory_usage()
-
-
-
-
- Get the current Memory usage.
-
-
- protected
- static memory_usage() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_directory_row()
-
-
-
-
- Render the directroy check row.
-
-
- protected
- static render_directory_row(string $name, string $directory, string $check, string $result, string $passed) : mixed
-
-
-
- Parameters
-
- -
- $name
- : string
-
- -
-
-
-
- -
- $directory
- : string
-
- -
-
-
-
- -
- $check
- : string
-
- -
-
-
-
- -
- $result
- : string
-
- -
-
-
-
- -
- $passed
- : string
-
- -
-
Show correct label depending on passed status.
-
-
-
-
-
-
-
-
- -
- used-by
-
- -
-
-
\MainWP\Child\MainWP_Child_Server_Information::render_mainwp_directory() Render the MainWP directory check.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Branding::is_branding()
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_file_system_method_check()
-
-
-
-
- Render the file system method check.
-
-
- protected
- static render_file_system_method_check() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_file_system_method()
-
-
Get file system method.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_system_infor_rows() Render system information rows.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_last_lines()
-
-
-
-
- Render the error log last lines.
-
-
- protected
- static render_last_lines(string $path, int $line_count[, int $block_size = 512 ]) : array<string|int, mixed>
-
-
-
- Parameters
-
- -
- $path
- : string
-
- -
-
-
-
- -
- $line_count
- : int
-
- -
-
-
-
- -
- $block_size
- : int
- = 512
- -
-
-
-
-
-
-
-
- Return values
- array<string|int, mixed>
- —
- Selected number of error log records to show.
-
-
-
-
-
-
- render_mainwp_directory()
-
-
-
-
- Render the MainWP directory check.
-
-
- protected
- static render_mainwp_directory() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::check_mainwp_directory()
-
-
Check if MainWP Directory is writeable.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_directory_row()
-
-
Render the directroy check row.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Branding::get_branding_title()
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_system_infor_rows() Render system information rows.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_mainwp_version_check()
-
-
-
-
- Render the MainWP version check.
-
-
- protected
- static render_mainwp_version_check() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_mainwp_version()
-
-
Get the current MainWP Child plugin version.
-
-
-
- -
- uses
-
- -
- get_option()
-
-
Retrieves an option value based on an option name.
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/get_option/
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_system_infor_rows() Render system information rows.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_row()
-
-
-
-
- Render the server information check row.
-
-
- protected
- static render_row(string $config, string $compare, string $version, string $getter[, string $extra_text = '' ][, string $extra_compare = null ][, string $extra_version = null ][, bool $size_compare = false ]) : mixed
-
-
-
- Parameters
-
- -
- $config
- : string
-
- -
-
-
-
- -
- $compare
- : string
-
- -
-
-
-
- -
- $version
- : string
-
- -
-
Version for comparison.
-
-
-
- -
- $getter
- : string
-
- -
-
Function to call to handle comparison.
-
-
-
- -
- $extra_text
- : string
- = ''
- -
-
Extra text to display in the row.
-
-
-
- -
- $extra_compare
- : string
- = null
- -
-
Additional comparison operator.
-
-
-
- -
- $extra_version
- : string
- = null
- -
-
Additional version to compare.
-
-
-
- -
- $size_compare
- : bool
- = false
- -
-
Determies if size should be compared.
-
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::check()
-
-
Check Child Site system variables for any issues.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_system_infor_rows() Render system information rows.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_php_settings_rows() Render PHP settings information rows.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_mysql_infor_rows() Render MySQL settings information rows.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_row_sec()
-
-
-
-
- Render the server information check secondary row.
-
-
- protected
- static render_row_sec(string $config, string $compare, string $version, string $getter[, string $extra_text = '' ][, string $extra_compare = null ][, string $extra_version = null ][, string $toolTip = null ][, string $whatType = null ][, string $errorType = self::WARNING ]) : mixed
-
-
-
- Parameters
-
- -
- $config
- : string
-
- -
-
-
-
- -
- $compare
- : string
-
- -
-
-
-
- -
- $version
- : string
-
- -
-
Version for comparison.
-
-
-
- -
- $getter
- : string
-
- -
-
Function to call to handle comparison.
-
-
-
- -
- $extra_text
- : string
- = ''
- -
-
Extra text to display in the row.
-
-
-
- -
- $extra_compare
- : string
- = null
- -
-
Additional comparison operator.
-
-
-
- -
- $extra_version
- : string
- = null
- -
-
Additional version to compare.
-
-
-
- -
- $toolTip
- : string
- = null
- -
-
-
-
- -
- $whatType
- : string
- = null
- -
-
-
-
- -
- $errorType
- : string
- = self::WARNING
- -
-
-
-
-
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_php_settings_rows() Render PHP settings information rows.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- server_self_connect()
-
-
-
-
- Server self-connection test.
-
-
- protected
- static server_self_connect() : mixed
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- time_compare()
-
-
-
-
- Time comparison.
-
-
- protected
- static time_compare(string $a, string $b) : int
-
-
-
- Parameters
-
- -
- $a
- : string
-
- -
-
-
-
- -
- $b
- : string
-
- -
-
-
-
-
-
-
-
- Return values
- int
- —
- Return 0 if $a is equal to $b, -1 if $a > $b or 1 if $a < $b.
-
-
-
-
-
-
- render_cron()
-
-
-
-
- Render cron schedules.
-
-
- private
- static render_cron() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- _get_cron_array()
-
-
Retrieve cron info array option.
-
-
-
- -
- uses
-
- -
- wp_get_schedules()
-
-
Retrieve supported event recurrence schedules.
-
-
-
- -
- uses
-
- -
- MainWP_Helper::format_timestamp()
-
-
Format timestamp as per the WordPress general settings.
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/_get_cron_array/
-
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/wp_get_schedules/
-
-
-
-
- -
- used-by
-
- -
-
-
\MainWP\Child\MainWP_Child_Server_Information::render_page() Render the Server Information page.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_error_page()
-
-
-
-
- Render the Error log page.
-
-
- private
- static render_error_page() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_error_log()
-
-
Render the error log content.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_page() Rener the Server Information page.
-Credits
-Plugin-Name: Error Log Dashboard Widget
-Plugin URI: http://wordpress.org/extend/plugins/error-log-dashboard-widget/
-Description: Robust zero-configuration and low-memory way to keep an eye on error log.
-Author: Andrey "Rarst" Savchenko
-Author URI: http://www.rarst.net/
-Version: 1.0.2
-License: GPLv2 or later
-Includes last_lines() function by phant0m, licensed under cc-wiki and GPLv2+
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_mysql_infor_rows()
-
-
-
-
- Render MySQL settings information rows.
-
-
- private
- static render_mysql_infor_rows() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_row()
-
-
Render the server information row.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_server_infor() Render server information content.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_page_js()
-
-
-
-
- Render JavaScrip code for the Server Information page.
-
-
- private
- static render_page_js() : mixed
-
-
-
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_page() Render the Server Information page.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_php_infor_rows()
-
-
-
-
- Render PHP information rows.
-
-
- private
- static render_php_infor_rows() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_php_allow_url_fopen()
-
-
Check if PHP Allow URL fopen is enabled.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_php_exif()
-
-
Check if PHP exif is enabled.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_php_ip_tc()
-
-
Check if PHP IP TC is enabled.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_php_xml()
-
-
Check if PHP XML is enabled.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::mainwp_required_functions()
-
-
Check for disabled PHP functions.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_loaded_php_extensions()
-
-
Get loaded PHP extensions.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_sql_mode()
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_server_infor() Render server information content.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_php_settings_rows()
-
-
-
-
- Render PHP settings information rows.
-
-
- private
- static render_php_settings_rows() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_row()
-
-
Render the server information row.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_row_sec()
-
-
Render the server information secondary row.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_php_safe_mode()
-
-
Check if PHP is in Safe Mode.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_system_infor_rows() Render system information rows.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_plugins_infor_rows()
-
-
-
-
- Render plugins information rows.
-
-
- private
- static render_plugins_infor_rows(string $branding_title) : mixed
-
-
-
- Parameters
-
- -
- $branding_title
- : string
-
- -
-
Custom branding plugin title.
-
-
-
-
-
-
-
-
- -
- uses
-
- -
- get_plugins()
-
-
Check the plugins directory and retrieve all plugin files with plugin data.
-
-
-
- -
- uses
-
- -
- is_plugin_active()
-
-
Determines whether a plugin is active.
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/get_plugins/
-
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/get_plugins/
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_server_infor() Render server information content.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_server_infor()
-
-
-
-
- Render server information content.
-
-
- private
- static render_server_infor() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_system_infor_rows()
-
-
Render system information rows.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_php_settings_rows()
-
-
Render PHP settings information rows.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_mysql_infor_rows()
-
-
Render MySQL settings information rows.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_server_infor_rows()
-
-
Render server settings information rows.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_php_infor_rows()
-
-
Render PHP information rows.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_plugins_infor_rows()
-
-
Render plugins information rows.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Branding::get_branding_title()
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_page() Render the Server Information page.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_server_infor_rows()
-
-
-
-
- Render server settings information rows.
-
-
- private
- static render_server_infor_rows() : mixed
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_wp_root()
-
-
Get WordPress root directory.
-
-
-
- -
- uses
-
- -
-
-
MainWP_Child_Server_Information_Base::get_server_name()Get server name.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_software()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_os()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_architecture()
-
-
Get System architecture.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_ip()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_protocol()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_http_host()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_https()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::server_self_connect()
-
-
Server self-connection test.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_user_agent()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_port()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_getaway_interface()
-
-
Get current server gateway interface.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::memory_usage()
-
-
Get the current Memory usage.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_complete_url()
-
-
Get server complete URL.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_request_time()
-
-
Get server request time.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_http_accept()
-
-
Get server HTTP accept.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_server_accept_charset()
-
-
Get server accepted charset.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_script_file_name()
-
-
Get server script filename.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_current_page_uri()
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_remote_address()
-
-
Get server remote address.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_remote_host()
-
-
Get server remote host.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_remote_port()
-
-
Get server remote port.
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_server_infor() Render server information content.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
- render_system_infor_rows()
-
-
-
-
- Render system information rows.
-
-
- private
- static render_system_infor_rows(string $branding_title) : mixed
-
-
-
- Parameters
-
- -
- $branding_title
- : string
-
- -
-
Custom branding plgin title.
-
-
-
-
-
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_mainwp_version()
-
-
Get the MainWP Child plugin version number.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_current_version()
-
-
Get the current MainWP Child plugin version.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information_Base::get_file_system_method()
-
-
Get file system method.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_file_system_method_check()
-
-
Render the file system method check.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_mainwp_version_check()
-
-
Render the MainWP version check row.
-
-
-
- -
- uses
-
- -
- MainWP_Child_Server_Information::render_row()
-
-
Render the server information row.
-
-
-
- -
- uses
-
- -
- get_option()
-
-
Retrieves an option value based on an option name.
-
-
-
- -
- see
-
- -
- https://developer.wordpress.org/reference/functions/get_option/
-
-
-
-
- -
- used-by
-
- -
-
-
MainWP_Child_Server_Information::render_server_infor() Render server information content.
-
-
-
-
-
- Return values
- mixed
- —
-
-
-
-
-
-
-