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.%plugin_id%}

Custom HTML code.

Shop-Script

Plugin code example

PHP

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