How to remove SEO Vendor box field?

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 Marketplace How to remove SEO Vendor box field?

Tagged: , ,

Viewing 3 reply threads
  • Author
    Posts
    • #112698
      HERMES ALVES SOUZA
      Participant

      Hi,

      How can i remove SEO vender box fields? And reduce the social fields to Instagram and facebook only?

      Attachments:
      You must be logged in to view attached files.
    • #113072
      Sushobhan
      Keymaster

      Hi,
      Please use the below code to remove SEO step from store setup:

      add_filter('wcfmmp_store_setup_steps', function($steps) {
          unset($steps['seo']);
          return $steps;
      }, 20);

      To remove all other social media options except fb and insta use this-

      add_filter('wcfm_profile_fields_social', function($social_accounts) {
          $social_accounts = array_intersect_key( $social_accounts, array_flip( [ 'facebook', 'instagram' ] ) );
          return $social_accounts;
      });

      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/

    • #113397
      HERMES ALVES SOUZA
      Participant

      That’s works. Thanks!

    • #113832
      Sushobhan
      Keymaster

      You are always welcome 🙂

      Let me know if there’s anything else we can help you with.

      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

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