Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Remove the “Policies” tab in product manager

WCMp Core

Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #124482
      MaxenceTP
      Participant

      Hello,

      How to remove this tab here : https://prnt.sc/19gsxkq ?
      I was able to remove the others tabs with this code :

      add_filter( 'wcmp_product_data_tabs', 'filter_wcmp_product_data_tabs', 10, 1 );
      function filter_wcmp_product_data_tabs( $product_type ) {
          unset($product_type['inventory']);
          unset($product_type['shipping']);
          unset($product_type['linked_product']);
          unset($product_type['attribute']);
          unset($product_type['variations']);
          unset($product_type['advanced']);
          return $product_type;
      }
      Copy

      But I cannot find what is the name of the “Policies” tab.

    • #124565

      Hello @Maxence , thanks for connecting with us.
      you need to disable this settings to remove the policy tab
      (see this screenshot : https://prnt.sc/19q1i1p )

    • #124567
      MaxenceTP
      Participant

      Hey, thanks !
      I didn’t saw this option, that’s solved 🙂

    • #124569

      You are welcome @Maxence . We are happy to help.

Viewing 3 reply threads

The topic ‘Remove the “Policies” tab in product manager’ is closed to new replies.