Add a custom vendor profile link to the user account menu

Everything is in the title, can we modify the profile drop-down list?
2024-03-21 (1)

If the answer is no, can we add a widget to the profile linking to the seller’s ads page?
I had started a button but I can’t find the generic link to each seller.
something like this: "

<div class="wp-block-button is-style-outline" style="text-align:center"><a class="wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button" href="" style="border-radius:20px;background-color:#ff005582" rel="noreferrer noopener">Mes annonces</a></div>

this might help you

If you want to update the text or change it, you can also do it:

1 Like

Thank you for the snippets, that’s actually what I was looking for, however there remains a question how to add the seller’s personal ads page ?

Oh sry i found this

	function ( $menu ) {
		if ( is_user_logged_in() ) {
			$vendor_id = HivePress\Models\Vendor::query()->filter(
					'user' => get_current_user_id(),

			if ( $vendor_id ) {
				$menu['items']['vendor_view'] = [
					'label'  => 'Vendor Profile',
					'url'    => hivepress()->router->get_url( 'vendor_view_page', [ 'vendor_id' => $vendor_id ] ),
					'_order' => 123,

		return $menu;

This is valuable, but, how can a Vendor edit their own profile?

Sorry I hate to hijack but I am looking for the same setup. :slight_smile: