Hide PROFILE>Verification Tab

This topic contains 1 reply, has 2 voices, and was last updated by Avatar Sarmistha Chakraborty 1 month, 1 week ago.

  • Author
    Posts
  • #101607
    Avatar
    acauaferreira
    Participant

    Hi, can you help me to hide this VERIFICATION TAB?
    My vendors don’t need to use it.

    Attachments:
    You must be logged in to view attached files.
  • #102145

    Hello,

    add_action( 'init',function(){
      global $WCFMmp, $WCFM, $WCFMu;  
      remove_action( 'end_wcfm_user_profile', array( $WCFMu->vendor_verification, 'wcfmu_vendor_verification_user_profile_fields' ), 15 );
    });

    Add this code to your child theme’s functions.php

    In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

    Thanks.

You must be logged in to reply to this topic.