Remove visitor map

MultivendorX Pro

Open
Viewing 1 reply thread
  • Author
    Posts
    • #218820
      Tandy R M Silva
      Participant

      Olá, como posso remover o painel de mapa de visitantes no painel do vendedor?

      Attachments:
    • #218832

      Hello there,To remove the visitors map from the vendor dashboard kindly add the below code in the functions.php file of your current active theme –

      
      add_filter( 'mvx_before_dashboard_widget', 'new_before_mvx_dashboard_widget', 10, 1 );
      function new_before_mvx_dashboard_widget( $vendor_dashboard_widget ){
      	unset($vendor_dashboard_widget['normal']['mvx_vendor_visitors_map']); //remove visitors map
      	return $vendor_dashboard_widget;
      }
      
      Copy

      Let us know if you need any further assistance from our end.

Viewing 1 reply thread

Please LOGIN to reply to this topic