Hapus tautan unduhan dari wooCommerce halaman akun saya

function custom_my_account_menu_items( $items ) {
  unset($items['downloads']);
  return $items;
}
add_filter( 'woocommerce_account_menu_items', 'custom_my_account_menu_items' );
Victorious Vole