frontend_nav_aux

Adds custom content to storefront navigation panels.

Shop-Script

Input (passed by reference)

No specific parameters.
… your plugin code …

Output

{$frontend_nav_aux}
Custom HTML code.
Shop-Script

Plugin code example

PHP

public function frontendNavAux()
{
    return '<a href="' . wa()->getRouteUrl('shop/frontend') . $this->id . '/' . '">' . _wp('My frontend nav link') . '</a>';
}