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)

  1. Edit your WP Config File
  2. 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".
A code snippet showing PHP configuration settings and constants for an AB testing plugin in WordPress, including error display and custom tool names.
An example configuration Replacing the plugin name with “Tom Test Tool”, the plugin URL becomes tomcarless.com and any mention of ‘Tests’ become ‘Experiments’ NOTE. This screenshot has a typo, you should use singular term for AB Test – Experiment not Experiments

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

  1. Graham George on October 8, 2023 at 8:38 pm

    Does not work on LTD plugins with Oxygen

    add_filter(‘ab_wl_name’, function($title){
    return ‘My Experiment Plugin’;
    });

    • Tom on October 12, 2023 at 12:36 pm

      Hi Graham,

      Thanks, this will be updated in v 1.6.1. You will need filter ab_wl_ab_test



  2. Edward Ritter on November 20, 2024 at 9:24 pm

    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.

    • Tom on November 21, 2024 at 7:16 am

      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.



Leave a Comment

You must be logged in to post a comment.