Hide /register-vendor link after registration

Hello,
Is there a code snippet or some kind of way in which once the user is registered as vendor by the /register-vendor link from the header, the link becomes hidden? That the link only appears when the user is register as user and can select to become a vendor, but once the user is registered as vendor the link in the header becomes hidden.
I followed the instructions to add this button to the header and a few code snippets in the style.css to hide the Add a Listing or Request a Service buttons if the user is not logged in, but the /register-vendor link still appears in the header even after logging in as a vendor. Any way around this?
How to add a vendor registration form - HivePress Help Center

Hi,

You can hide the menu item for logged in users or for the contributor role using this plugin, for example: User Menus – Nav Menu Visibility – WordPress plugin | WordPress.org

​I hope this is helpful to you.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.