If your wholesale customers land on the My Account page after logging in, you can add a direct link to your order form as a new tab so they reach it in one click. The snippet below uses two standard WooCommerce filters to register a custom menu item and point it to your WooCommerce Wholesale Order Form page.
Prerequisites
- WooCommerce Wholesale Order Form installed and active, with at least one order form page published.
- A child theme or a code snippets plugin (such as WPCode) to safely add custom PHP.
How to add the wholesale ordering link
- Copy the snippet below.
- Update the URL on the marked line to match your wholesale order form page address.
- Add the snippet to your child theme’s
functions.phpfile or paste it into a code snippets plugin such as WPCode.
add_filter ( 'woocommerce_account_menu_items', 'wholesale_ordering_link' );
function wholesale_ordering_link( $menu_links ){
$new = array( 'wholesaleorderinglink' => 'Wholesale Ordering Form' );
$menu_links = array_slice( $menu_links, 0, 1, true )
+ $new
+ array_slice( $menu_links, 1, NULL, true );
return $menu_links;
}
add_filter( 'woocommerce_get_endpoint_url', 'wholesale_ordering_hook_endpoint', 10, 4 );
function wholesale_ordering_hook_endpoint( $url, $endpoint, $value, $permalink ){
if( $endpoint === 'wholesaleorderinglink' ) {
// Replace this URL with your wholesale order form page address
$url = 'https://example.com/wholesale-ordering/';
}
return $url;
}
After saving, your My Account page will display a new Wholesale Ordering Form tab for all logged-in users. You can confirm it is working by logging in as a wholesale customer.

Need help?
If you have a question or run into any issues, we’re here to help.
- Premium users: Open a support ticket
- Free users: Visit our community forum
