Hide customer support and dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Vendors Hide customer support and dashboard

Viewing 5 reply threads
  • Author
    Posts
    • #111847
      vlasovdmitri
      Participant

      Hello.
      I want to hide the following pages from vendors:
      div: id=”wcfm_settings_form_customer_support_head”
      div: id=”sm_profile_form_social_head” url = /store-manager/profile/#sm_profile_form_social_head

      url = /store-manager/knowledgebase/
      url = /store-manager/

    • #111923

      Hello,

      add_filter('wcfm_is_allow_knowledgebase','fn_only_for_admin_wcfm_is_allow_knowledgebase');
      function fn_only_for_admin_wcfm_is_allow_knowledgebase($bool) {
      	$userid = get_current_user_id();
      	if(wcfm_is_vendor($userid)) {
      		return false;
      	} else {
      		return true;
      	}
      }
      add_filter('wcfm_is_allow_social_profile','__return_false');

      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.

    • #111949
      vlasovdmitri
      Participant

      Thanks. That is, in the settings there are no such options for disabling this data?

    • #111953
      vlasovdmitri
      Participant

      I also want to hide it:
      – Facebook Setup
      – Twitter Setup
      – settings сustomer support
      Thanks!

    • #111990

      Hello,

      add_filter('wcfm_is_allow_customer_support_settings','__return_false');
      add_filter('wcfm_is_allow_vendor_seo_facebook','__return_false');
      add_filter('wcfm_is_allow_vendor_seo_twitter','__return_false');

      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.

    • #112002
      vlasovdmitri
      Participant

      Wery well. TY 🙂

Viewing 5 reply threads
  • You must be logged in to reply to this topic.