How to Disable Plugin Hiding in WP Umbrella
Are you using WP Umbrella’s white label feature to hide the plugin but need to make it visible on a specific website without turning off white labeling entirely? You’re in the right place! This guide will show you how to disable the hiding of the WP Umbrella plugin for just one website while keeping the white label feature active.
Prerequisites
- Access to your WordPress site’s files (via FTP, SFTP, or your hosting control panel).
- Basic knowledge of editing PHP files.
- A WordPress theme installed on your site.
You can find our plugin at this URL at all time: /wp-admin/options-general.php?page=wp-umbrella-settings
Introduction
By default, the WP Umbrella plugin might be hidden from the WordPress admin interface when white labeling is enabled. To disable this functionality, you can add a simple filter to your theme’s functions.php file. This will ensure that the plugin remains visible in your WordPress dashboard.
Step-by-Step Guide
Step 1: Access Your Theme’s functions.php File
- Via WordPress Admin Panel:
- Log in to your WordPress admin dashboard.
- Navigate to Appearance > Theme File Editor.
- Select your active theme from the right-hand dropdown (if not already selected).
- Locate and open the functions.php file.
- Via FTP/SFTP or Hosting Control Panel:
- Use your preferred FTP client or hosting file manager to navigate to your WordPress installation directory.
- Open the wp-content/themes/your-active-theme/ folder.
- Locate the functions.php file and open it for editing.
Step 2: Add the Filter Code
Add the following code snippet to your functions.php file:
add_filter('wp_umbrella_white_label_data', function ($data) { $data['hide_plugin'] = false; return $data; });
Ensure that the code is placed at the bottom of the file, just before the closing ?> tag (if it exists). If the file does not have a closing tag, you can safely add the code without it.
Step 3: Save the Changes
if using the WordPress Theme Editor, click Update File.
If editing locally, save the file and upload it back to the server via FTP/SFTP.
Outcome
Once the filter is added, the WP Umbrella plugin will no longer be hidden in the WordPress admin interface, even with white labeling enabled.
😊 Enjoy managing your WordPress sites with WP Umbrella! If you have any questions, feel free to reach out!