Change, Edit & Rename WooCommerce Endpoints in My Accounts Page

Here is how you can change, edit and rename WooCommerce Endpoints in My Accounts Page. You can change the order of these endpoints by using the woocommerce_account_menu_items filter, you can also change the list item title with the same filter.

function codeithub_woo_my_account_order() {
	$myorder = array(
		'edit-account'       => __( 'Change My Details', 'woocommerce' ),
		'dashboard'          => __( 'Dashboard', 'woocommerce' ),
		'orders'             => __( 'My Orders', 'woocommerce' ),
		'downloads'          => __( 'Download', 'woocommerce' ),
		'edit-address'       => __( 'Addresses', 'woocommerce' ),
		'payment-methods'    => __( 'Payment Methods', 'woocommerce' ),
		'customer-logout'    => __( 'Logout', 'woocommerce' ),

	return $myorder;
add_filter ( 'woocommerce_account_menu_items', 'codeithub_woo_my_account_order' );


See also  Change the PayPal Icon on Checkout Page
My Account page in Woocommerce


Change My Account page Endpoints

Leave a Reply

Your email address will not be published. Required fields are marked *