backend_menu
Adds custom items to the main menu in the old interface (1.3).
Shop-Script
Input (passed by reference)
No specific parameters.
… your plugin code …
Output
{$backend_menu.aux_li}
Extra links at page top next to “Import/export”, “Settings”, “Плагины”.
{$backend_menu.core_li}
Extra links next to main navigation items “Orders”, “Customers”, “Products”, etc.
Shop-Script
Plugin code example
PHP
public function backendMenu() { return [ 'aux_li' => '<li class="no-tab"><a href="">' . _wp('Aux menu link') . '</a></li>', 'core_li' => '<li class="no-tab"><a href="">' . _wp('Core menu link') . '</a></li>', ]; }