How to remove wishlist tabs from the admin Customer edit Page Magento 2?

You can remove wishlist tabs from the customer edit page in Magento 2 admin panel.

Your eCommerce site doesn’t support the wishlist functionality, you need to remove tabs from the customer section of the admin also.

Wishlist section displays the list of wishlist items grid for the specific customer.

Create a customer_index_edit.xml file in your module with adminhtml scope,

app/code/Jesadiya/Wishlist/view/adminhtml/layout/customer_index_edit.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_edit_tab_view">
            <referenceBlock name="wishlist" remove="true" />
        </referenceBlock>
    </body>
</page>

We can remove it by the attribute remove=”true” on the wishlist reference block.