|

Apply White Label Settings from wp-config.php File

By now, we all know how to White Label UAE? It is also known that the white label settings page can be hidden from the dashboard. However, it reappears when the plugin is re-activated on the website.

We were asked whether these white label settings can be hidden permanently. Especially agencies who serve many clients would not want them to know that the plugin or theme used to build their website is a third party white labeled plugin.

Therefore, we’ve introduced a method that will allow you to White Label the plugin and hide the White Label settings – and keep them hidden, no matter what activity the user performs with the plugin or on the website. This means that you can white label the plugin permanently from the wp-config.php file and these settings will not be changed from the WordPress dashboard settings.

To achieve the above scenario we have added a White Label Constants to UAEL from version 1.5.1.

Below is the list for the  White Label Settings and their respective White Label Constants.

White Label SettingsWhite Label Constants
AuthorUAEL_WL_AUTHOR
Author URLUAEL_WL_AUTHOR_URL
Plugin NameUAEL_WL_PLUGIN_NAME
Plugin Short NameUAEL_WL_PLUGIN_SHORT_NAME
Plugin DescriptionUAEL_WL_PLUGIN_DESCRIPTION
Replace LogoUAEL_WL_REPLACE_LOGO
Display Knowledge Base BoxUAEL_WL_KNOWLEDGEBASE
Knowledge Base URLUAEL_WL_KNOWLEDGEBASE_URL
Display Support BoxUAEL_WL_SUPPORT
Support URLUAEL_WL_SUPPORT_URL
Display Beta Update BoxUAEL_WL_BETA_UPDATE_BOX
Display Help LinksUAEL_WL_INTERNAL_HELP_LINKS
Hide White LabelWP_UAEL_WL

How to use White Label Constants?

Step 1 – Open and edit the wp-config.php file.
Step 2 –  Find the line /* That’s all, stop editing! Happy blogging. */ and add White Label Constants code just before this line.
Step  3 – Below is the sample code for the White Label Constants. You can update the strings as per your requirement.

define( 'UAEL_WL_AUTHOR', 'UL Author' );
define( 'UAEL_WL_AUTHOR_URL', 'https://www.ulauthor.com' );
define( 'UAEL_WL_PLUGIN_NAME', 'UL Plugin' );
define( 'UAEL_WL_PLUGIN_SHORT_NAME', 'ULP' );
define( 'UAEL_WL_PLUGIN_DESCRIPTION', 'UL Plugin Addon for Elementor' );
define( 'UAEL_WL_REPLACE_LOGO', 'disable' );            // disable/enable
define( 'UAEL_WL_KNOWLEDGEBASE', 'enable' );            // disable/enable
define( 'UAEL_WL_KNOWLEDGEBASE_URL', '#knowledgebase' );
define( 'UAEL_WL_SUPPORT', 'enable' );                  // disable/enable
define( 'UAEL_WL_SUPPORT_URL', '#support' );
define( 'UAEL_WL_BETA_UPDATE_BOX', 'enable' );          // disable/enable
define( 'UAEL_WL_INTERNAL_HELP_LINKS', 'enable' );      // disable/enable
define( 'WP_UAEL_WL', true ); 			        // true/false
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page
Scroll to Top