Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Hide Address Verification
- This topic has 8 replies, 2 voices, and was last updated 5 years, 10 months ago by WCFM Forum.
- AuthorPosts
- January 21, 2019 at 1:47 pm #44568JoseParticipant
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
- January 21, 2019 at 2:51 pm #44575
- January 21, 2019 at 3:53 pm #44587WCFM ForumMember
HI,
Add this code for the purpose –
add_filter( 'wcfm_is_allow_vendor_address_verification', '__return_false' );
Thank You
- January 21, 2019 at 4:24 pm #44598JoseParticipant
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. - January 21, 2019 at 4:35 pm #44602WCFM ForumMember
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
- January 21, 2019 at 4:51 pm #44604JoseParticipant
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,
- January 21, 2019 at 4:54 pm #44605WCFM ForumMember
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
- January 21, 2019 at 5:01 pm #44606JoseParticipant
Very thankful !! It’s perfect.
Best regards,
- January 21, 2019 at 5:04 pm #44609WCFM ForumMember
You are welcome 🙂
- AuthorPosts
- The topic ‘Hide Address Verification’ is closed to new replies.