backend_settings

Adds custom content to backend’s “Settings” screen.

Shop-Script

Input (passed by reference)

No specific parameters.
… your plugin code …

Output

{$backend_settings.sidebar_top_li}
Custom elements at the top of left sidebar under “General settings” link.
{$backend_settings.sidebar_middle_li}
Custom elements in the middle of left sidebar under links “Product types & Features”, “Recommendations”, “Product images”, “Stocks”.
{$backend_settings.sidebar_bottom_li}
Custom elements at the bottom of left sidebar under “Reset” link.
Shop-Script

Plugin code example

PHP

public function backendSettings()
{
    return [
        'sidebar_top_li'    => '<li><a href="">' . _wp('My top link') . '</a></li>',
        'sidebar_middle_li' => '<li><a href="">' . _wp('My middle link') . '</a></li>',
        'sidebar_bottom_li' => '<li><a href="">' . _wp('My bottom link') . '</a></li>',
    ];
}