Hide Address Verification

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!

Viewing 8 reply threads
  • Author
    Posts
    • #44568
      Jose
      Participant

      Hi,

      I would like to hide address verification in the verification page.
      Just I want to have Identity verification inside of profile setting.

      Thank you

    • #44575
      Jose
      Participant

      I add a screen capture about that.

      Thank you

      Attachments:
      You must be logged in to view attached files.
    • #44587
      WCFM Forum
      Member

      HI,

      Add this code for the purpose –

      add_filter( 'wcfm_is_allow_vendor_address_verification', '__return_false' );

      Thank You

    • #44598
      Jose
      Participant

      Hi,

      Thanks so much, work perfect !!

      Can I ask you about something similar

      I hide in capability, social networks. So, can you help me hide the same in store setting, SEO.

      Thanks in advance.

      P.D. Do you have a lot of filters, will be great if you can add to documentation.

      Attachments:
      You must be logged in to view attached files.
    • #44602
      WCFM Forum
      Member

      Hi,

      You may hide SEO from capability – https://ibb.co/0JphXyR

      Well, if we create a documentation of all filters then you will again puzzled, which is for what 🙂
      And have to ask me for the right one …

      Though we have a plan to make list with description, hope that will help.

      Thank You

    • #44604
      Jose
      Participant

      Thank you for your answers.

      Well, I use Yoast SEO and I do not know if I disable seo completely, I will be able to perform well only with Yoast SEO ?.
      From what I see, are not some seo elements separated with social networks?

      Best regards,

    • #44605
      WCFM Forum
      Member

      Hi,

      Ok, then keep ON that capability and use this code snippet –

      add_filter( 'wcfm_vendors_settings_fields_seo', function( $seo_fields, $user_id ) {
      	$seo_fields = wcfm_hide_field( 'wcfmmp-seo-og-title', $seo_fields );
      	$seo_fields = wcfm_hide_field( 'wcfmmp-seo-og-desc', $seo_fields );
      	$seo_fields = wcfm_hide_field( 'wcfmmp-seo-og-image', $seo_fields );
      	$seo_fields = wcfm_hide_field( 'wcfmmp-seo-twitter-title', $seo_fields );
      	$seo_fields = wcfm_hide_field( 'wcfmmp-seo-twitter-desc', $seo_fields );
      	$seo_fields = wcfm_hide_field( 'wcfmmp-seo-twitter-image', $seo_fields );
      	return $seo_fields;
      }, 50, 2);

      Thank you

    • #44606
      Jose
      Participant

      Very thankful !! It’s perfect.

      Best regards,

    • #44609
      WCFM Forum
      Member

      You are welcome 🙂

Viewing 8 reply threads
  • The topic ‘Hide Address Verification’ is closed to new replies.