Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Hide option for Snapchat, LinkedIn, Google+
- This topic has 2 replies, 3 voices, and was last updated 5 years, 2 months ago by WCFM Forum.
- AuthorPosts
- October 11, 2019 at 1:10 am #86135Jamie O’ReillyParticipant
Please could you give me the filter for hiding Hide option for Snapchat, LinkedIn, Google+ and YouTube from the vendors in set up profile.
I only want them to be able to add facebook, twitter, Instagram and Pinterest.Many Thanks
- October 12, 2019 at 6:46 pm #86539PATselovParticipant
I am joining.
I also need to remove Twitter, Instagram, Linkedin, Google Plus, Snapchat, Pinterest - October 14, 2019 at 10:18 am #86729WCFM ForumMember
HI,
Please could you give me the filter for hiding Hide option for Snapchat, LinkedIn, Google+ and YouTube from the vendors in set up profile.
– Use this code –
add_filter( 'wcfm_profile_fields_social', function( $social_fields ) { $social_fields = wcfm_hide_field( 'linkdin', $social_fields ); $social_fields = wcfm_hide_field( 'google_plus', $social_fields ); $social_fields = wcfm_hide_field( 'snapchat', $social_fields ); $social_fields = wcfm_hide_field( 'youtube', $social_fields ); return $social_fields; }, 50 );
I also need to remove Twitter, Instagram, Linkedin, Google Plus, Snapchat, Pinterest
– Use this code –
add_filter( 'wcfm_profile_fields_social', function( $social_fields ) { $social_fields = wcfm_hide_field( 'linkdin', $social_fields ); $social_fields = wcfm_hide_field( 'google_plus', $social_fields ); $social_fields = wcfm_hide_field( 'snapchat', $social_fields ); $social_fields = wcfm_hide_field( 'pinterest', $social_fields ); $social_fields = wcfm_hide_field( 'instagram', $social_fields ); $social_fields = wcfm_hide_field( 'twitter', $social_fields ); return $social_fields; }, 50 );
Thank You
- AuthorPosts
- The topic ‘Hide option for Snapchat, LinkedIn, Google+’ is closed to new replies.