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' );

Comments on this post

Your email address will not be published. Required fields are marked *