By now, we all know how to White Label UAEL? 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 Settings||White Label Constants|
|Plugin Short Name||UAEL_WL_PLUGIN_SHORT_NAME|
|Display Knowledge Base Box||UAEL_WL_KNOWLEDGEBASE|
|Knowledge Base URL||UAEL_WL_KNOWLEDGEBASE_URL|
|Display Support Box||UAEL_WL_SUPPORT|
|Display Beta Update Box||UAEL_WL_BETA_UPDATE_BOX|
|Display Help Links||UAEL_WL_INTERNAL_HELP_LINKS|
|Hide White Label||WP_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