MainWP Community

Remove Downloads Menu Item in My Account in WooCommerce

Use this code snippet to remove the downloads menu item from showing in My Account in WooCommerce on child sites.

Snippet Type

Execute on Child Sites

Snippet

function wc_my_account_menu_items( $items ) {
    unset($items['downloads']);
    return $items;
}
add_filter( 'woocommerce_account_menu_items', 'wc_my_account_menu_items' );
2 Likes