backend_customers_list

Adds custom content to "Customers" screen.

Shop-Script

Input (passed by reference)

$params array
$params['hash'] string URL portion of current page corresponding to one of customer selection types: category, search, or filter.
$params['filter'] array Customer selection parameters.
… your plugin code …

Output

{$backend_customers_list.%plugin_id%.top_li}

<li> element for adding custom content; e.g., a link, to the area containing customer collection management tools.

Shop-Script

Plugin code example

PHP

public function backendCustomersList($params)
{
    $link_text = shopMyPluginHelper::getLinkText($params);
    
    return array(
        'top_li' => '<li><a href="">' . $link_text . '</a></li>'
    );
}