Remove Social Links from Vendor Store Page
This snippet will hide the social links on the example.com/vendor/xyz page. On my site, a crucial part of earning the admin commission is to disable direct communication between customer and vendor, and this is one piece of it. Note that on my site, I also decided to override the template and remove the lines for the social input boxes in the vendor dashboard storefront setup.
As always, this is either added to your Child Theme’s functions.php file, or consider using the My Custom Functions Pro plugin to manage and organize all your snippets.
add_filter( 'wcmp_vendor_store_header_show_social_links', '__return_false' );
Tested and working on Woocommerce 4.6.1, WCMp 3.5.10
Is this no longer relevant or not working? Please let us know in the comments!
2 comments on “Remove Social Links from Vendor Store Page”
No longer works in latest update with WCMp version 3.7.0 and Woocommerce version 5.1.0
Thanks! If you need this snippet you can post in the support forum and we’d love it if you could comment back with the update.