White Labelling AB Split Test
You can white label the AB Split Test plugin by editing your WordPress wp-config.php
file. This allows you to change the plugin name, support URL, and even replace the term “AB Test” throughout the interface.
This is ideal for agencies or developers who want to present the plugin under their own branding and it only takes a minutes.
After activating your license, you can add a few lines to your wp-config.php file to change the names and links in side AB Split Test
Steps to White Label AB Split Test (new update as of version 1.9.14)
- Edit your WP Config File
- Just above where it says “That’s all, stop editing! Happy publishing” paste the following and edit
define('BT_AB_TEST_WL_NAME', 'My Test Plugin'); // Rename AB Split Test Plugin name
define('BT_AB_TEST_WL_URL', 'https://mysite.com'); // AB Split Test URL
define('BT_AB_TEST_WL_ABTEST', 'Experiment');// your preferred term for "A/B Test".

Note to Developers
You do not have to use and update the wp-config.php – you can also add these definitions to a mu-plugin or any function that runs before plugins_loaded.
Note to WP CodeBox or other snippet plugins
There above code snippets will not work in WP CodeBox or any other snippet plugin.
These plugins delay the execution, not very long. But long enough to fire after the white labelling is done.
Edit your wp-config.php file or create a mu-plugin instead.
4 Comments
Leave a Comment
You must be logged in to post a comment.
Does not work on LTD plugins with Oxygen
add_filter(‘ab_wl_name’, function($title){
return ‘My Experiment Plugin’;
});
Hi Graham,
Thanks, this will be updated in v 1.6.1. You will need filter ab_wl_ab_test
The white label doesn’t work at all. Nothing changes the plugin’s name, links, or website, and all the documentation is available. It is one of the most generic white-label options I have seen in a WordPress plugin.
It’s working replace the name AB Split Test and Split Test on our install, can you share a screenshot of where it is not working? When you say generic, what is actually missing? Message us some requests at support@absplittest.com and we can make improvements.