Skip to main content

What You’ll Learn

  • White labeling the MainWP Child plugin
  • Hiding the plugin from clients
  • Restricting WordPress features
  • Adding branded support forms
  • Resetting white label settings

Extension Add-on - This add-on provides standalone functionality within MainWP Dashboard. No third-party plugins required.
The MainWP White Label Extension lets you rebrand the MainWP Child plugin on client sites. You can replace the plugin name and author information with your own branding, hide the plugin entirely from the plugins list, restrict client access to certain WordPress features, and add a branded support contact form.
This extension white labels the MainWP Child plugin only. The MainWP Dashboard plugin cannot be white labeled.

Features Overview

FeatureDescription
White LabelReplace plugin name, description, author, and URIs with your own branding
Hide PluginMake the MainWP Child plugin invisible in the client’s plugins list
Remove & DisableRestrict access to themes, plugins, settings, and tools menus
WordPress OptionsCustomize login images, favicons, dashboard widgets, footer text, and admin CSS
Support FormAdd a branded contact form to child site admin areas

White Label the MainWP Child Plugin

Rebrand how the MainWP Child plugin appears in the WordPress plugins list.
1

Navigate to White Label settings

Go to MainWP > Extensions > White Label and select the White Label tab.
2

Enter your branding information

White Label Settings
FieldDescription
Plugin NameYour custom plugin name
Plugin DescriptionYour custom description
Plugin URILink to your website or plugin page
Plugin AuthorYour name or company name
Plugin Author URILink to your author page
3

Save Settings

Click Save Settings to apply changes to all child sites.
Example result: If you set Plugin Name to “Demo Name” and Plugin Author to “Demo Author”, the plugins list will display: Branding Result
Leave fields empty (except Plugin Name) to hide that information rather than display the original. To remove white labeling entirely, delete the Plugin Name and save.

Visually Hide the MainWP Child Plugin

Remove the MainWP Child plugin from the WordPress plugins list so clients cannot see it.
1

Navigate to White Label settings

Go to MainWP > Extensions > White Label and select the White Label tab.
2

Enable hiding

Set Visually Hide MainWP Child Plugin to YES.White Label Child Plugin Settings
3

Save Settings

Click Save Settings.

Remove & Disable Functions

Restrict client access to WordPress features and MainWP Child settings.
Go to MainWP > Extensions > White Label and select the Remove & Disable Options tab.Remove and disable white label options

Available Options

OptionEffect
Disable Theme SwitchingLocks the current theme; prevents switching to another theme
Disable Theme/Plugin ChangesRemoves Plugins and Appearance menus from WP Admin
Remove MainWP SettingsHides the MainWP Child Settings page
Remove MainWP Server InformationHides the MainWP Child Server Information page
Remove MainWP Restore / CloneHides the MainWP Child Restore page
Remove WP ToolsRemoves the Tools menu from WP Admin
Remove WP SettingsRemoves the Settings menu from WP Admin
Remove WP Permalinks MenuRemoves the Permalinks submenu from WP Admin

WordPress Options

Customize WordPress admin areas, login pages, and site-wide elements on child sites.
Go to MainWP > Extensions > White Label and select the WordPress Options tab.White Label - WordPress options

Available Options

OptionDescription
Custom Login ImageReplace the WordPress logo on the login page
Custom FaviconReplace the site favicon
Remove Dashboard WidgetsHide selected widgets from the WordPress Dashboard
Hide Nag UpdatesRemove the WordPress update notification bar
Hide Help BoxHide the contextual help tab from all admin pages
Hide Post MetaboxesRemove selected metaboxes from the post editor
Hide Page MetaboxesRemove selected metaboxes from the page editor
Global Footer ContentAdd content to the front-end footer
Dashboard Footer ContentReplace “Thank you for creating with WordPress” in admin footer
Site Generator OptionsModify or hide the WordPress version in the generator meta tag
Custom Admin CSSAdd CSS to customize the admin area
Custom Login CSSAdd CSS to customize the login page
Text ReplaceFind and replace text strings throughout the admin area

Support Form

Add a branded contact form to child site admin areas so clients can reach you directly.
Go to MainWP > Extensions > White Label and select the Support Form tab.White Label - Support options

Configuration Options

SettingDescription
Enable Support ButtonToggle the support feature on/off
Button LocationChoose where the Contact Support button appears
Contact Support LabelText displayed on the button
Intro Support MessageMessage shown above the contact form
Submit Button TitleText on the form submit button
Successful Submission MessageConfirmation message after form submission
Support Email AddressEmail where support requests are sent (required)
The support form remains disabled if the Support Email Address field is empty.

Reset White Label Options

To reset all white label settings to defaults:
1

Navigate to White Label

Go to MainWP > Extensions > White Label.
2

Reset settings

Scroll to the bottom and click the Reset button.
3

Confirm and save

Click Yes in the confirmation popup, then click Save Settings to apply the reset to child sites.

White Label Master Reset

If a child site becomes disconnected and you cannot see the MainWP Child plugin (because it was hidden) or other white label options are stuck, use one of these methods to reset. Download and install the Reset MainWP Child Plugin Settings plugin on the child site. It resets all MainWP Child settings and deactivates itself automatically.
Remove the reset tool plugin after use for security reasons.

Option 2: Manual Code Edit

1

Access the child site via FTP

Connect to your child site server.
2

Locate the MainWP Child class file

Find site_root/wp-content/plugins/mainwp-child/class/class-mainwp-child.php
3

Edit the file

Find the public function __construct( $plugin_file ) function (around line 210). After the line containing this->update();, add:
delete_option('mainwp_branding_child_hide');
4

Upload and overwrite

Save and upload the file back to the server, overwriting the original.

Option 3: Functions.php Filter

Add this code to the active theme’s functions.php on the child site:
add_filter( 'mainwp_child_branding_init_options', 'mycustom_mainwp_child_branding_init_options');
function mycustom_mainwp_child_branding_init_options( $opts ) {
    if (is_array($opts) && isset($opts['hide'])) {
        $opts['hide'] = '';
    }
    return $opts;
}
After reconnecting the site, remove this code so the White Label Extension functions properly again.

Exclude Specific Users from White Labeling

The mainwp_child_branding_init_options filter lets you disable white label settings for specific users on child sites.

Exclude by User ID

This example excludes user ID 1 from white label settings:
add_filter( 'mainwp_child_branding_init_options', 'mycustom_mainwp_child_branding_init_options' );
function mycustom_mainwp_child_branding_init_options( $option ) {
   $current_user_id = get_current_user_id();
   if ( $current_user_id == '1' && is_array( $option ) && isset( $option['cancelled_branding'] ) ) {
       $option['cancelled_branding'] = true;
   }
   return $option;
}

Exclude by Username

This example excludes the user “bogdan” from white label settings:
add_filter( 'mainwp_child_branding_init_options', 'mycustom_mainwp_child_branding_init_options' );
function mycustom_mainwp_child_branding_init_options( $option ) {
   $current_user = wp_get_current_user();
   if ( $current_user && $current_user->user_login == 'bogdan' && is_array( $option ) && isset( $option['cancelled_branding'] ) ) {
       $option['cancelled_branding'] = true;
   }
   return $option;
}
Use the MainWP Code Snippets Extension to deploy these filters to all child sites at once.