frontend_header

Adds custom content at the top of storefront pages.

Shop-Script

Input (passed by reference)

No specific parameters.
… your plugin code …

Output

{$frontend_header.%plugin_id%}

Custom HTML code.

Shop-Script

Plugin code example

PHP

public function frontendHeader()
{
    return '<!-- custom HTML code -->';
}