Methods

get_class_name()

get_class_name() : string

Get Class Name

Returns

string —

CLASS

get_mainwp_translations()

get_mainwp_translations() : array

Method get_mainwp_translations() Build Translations Array.

Returns

array —

$mainwpTranslations.

after_extensions_plugin_row()

after_extensions_plugin_row(mixed  $plugin_slug, mixed  $plugin_data, mixed  $status) : string

Check if MainWP Extensions are Activated or not.

Parameters

mixed $plugin_slug

Plugin Slug.

mixed $plugin_data

Plugin Data.

mixed $status

Status of plugin activation.

Returns

string —

Activation warning message.

mainwp_4_update_notice()

mainwp_4_update_notice() 

MainWP Version 4 update Notice.

render_notice_version()

render_notice_version() 

Render PHP Version Notice.

render_notice_config_warning()

render_notice_config_warning() 

Render OpenSSL Error message.

render_notice_multi_sites()

render_notice_multi_sites() 

Render WP Multisite Error Message.

check_rating_notice()

check_rating_notice(boolean  $current_options) 

Render MainWP Review Request.

Parameters

boolean $current_options

false|true Weather or not to display request.

render_notice_trust_update()

render_notice_trust_update() 

Render MainWP Dashboard & Child Plugin auto update Alert.

render_rating_notice_1()

render_rating_notice_1() 

Render MainWP 30 day review request.

render_rating_notice_2()

render_rating_notice_2() 

Render MainWP review notice after a few extensions have been installed.

wp_admin_notices()

wp_admin_notices() 

Render Send Mail Function may have failed error.

admin_footer()

admin_footer() 

Method admin_footer()

Render Admin Footer.

admin_print_styles()

admin_print_styles() 

Admin print styles.

mainwp_warning_notice()

mainwp_warning_notice() 

MainWP Productions Site warning.

admin_head()

admin_head() 

Render Admin Header

admin_body_class()

admin_body_class(mixed  $class_string) : string

MainWP Admin body CSS class attributes.

Parameters

mixed $class_string

MainWP CSS Class attributes.

Returns

string —

$class_string The CSS attributes to add to the page.

render_footer_content()

render_footer_content(mixed  $websites, integer  $current_wpid = false) 

Method render_footer_content()

Render footer content.

Parameters

mixed $websites

The websites object.

integer $current_wpid

The current website id.