backend_reports
Adds custom content to backend “Reports” section.
Shop-Script
Input (passed by reference)
No specific parameters.
… your plugin code …
Output
{$backend_reports.menu_li}
HTML code of custom
<li> elements to be displayed at the end of the “Reports” section’s main navigation link list in the 1.3 interface mode.Shop-Script
Plugin code example
PHP
public function backendReports()
{
return [
'menu_li' => '<li><a href="...">' . _wp('My reports menu link') . '</a></li>',
];
}









