WooCommerce Account Page Tabs Generator

Home » WordPress Generators » 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

Remove Dashboard
Payment Methods
Edit Address
Edit Account
Customer Logout
The tab to rename.
The new name for this tab.
The ID of the new tab. No spaces or special characters. Only letters, numbers, hyphens, and underscores.
The name of the new tab.
                    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


Sign up to save your WordPress snippets on WPTurbo.