Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
enable-new-wc-onboarding.php
<?php
/*
Plugin Name: Enable WooCommerce Onboarding Split Test
Description: Puts the site into the test group for WooCommerce Onboarding split testing.
Version: 1.0.0
Author: Automattic
License: GPL2
*/
function woocommerce_admin_set_test_group() {
return 'b';
}
add_filter( 'pre_option_woocommerce_setup_ab_wc_admin_onboarding', 'woocommerce_admin_set_test_group' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment