add_action('init', 'wpturbo_add_custom_tab_endpoint');
function wpturbo_add_custom_tab_endpoint(){
add_rewrite_endpoint('wpturbo-custom-tab', EP_PAGES);
}
add_action('woocommerce_account_wpturbo-custom-tab_endpoint', 'wpturbo_render_my_custom_tab_wpturbo_custom_tab_endpoint');
function wpturbo_render_my_custom_tab_wpturbo_custom_tab_endpoint(){
// The code to render wpturbo-custom-tab () custom tab content goes here
}
WooCommerce Account Page Tabs Generator
Related Woocommerce generators Woo checkout fields remover Woo add currency Woo change subject lines generator Go back to all generators