frontend_nav
Adds custom content to storefront navigation bar.
Shop-Script
Input (passed by reference)
No specific parameters.
… your plugin code …
Output
{$frontend_nav}
Custom HTML code.
Shop-Script
Plugin code example
PHP
public function frontendNav()
{
return '<a href="' . wa()->getRouteUrl('shop/frontend') . $this->id . '/' . '">' . _wp('My frontend nav link') . '</a>';
}









