backend_reports

Adds custom content to backend “Reports” section.

Shop-Script

Input (passed by reference)

No specific parameters.
… your plugin code …

Output

{$backend_reports.%plugin_id%.menu_li}

HTML code of custom <li> elements to be displayed at the end of the “Reports” section’s main navigation link list.

Shop-Script

Plugin code example

PHP

public function backendReports()
{
    return array(
        'menu_li' => '<li><a href="...">'._wp('My reports menu link').'</a></li>',
    );
}