Hide Email Addresses on Vendor Store Page

This snippet will hide the vendor email address 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.

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_hide_store_email', '__return_true');

Comments on this post

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