backend_pages_sidebar
Allows adding custom content to the list of info pages in section “Storefront → Pages”.
Shop-Script
Input (passed by reference)
No specific parameters.
… your plugin code …
Output
{$backend_pages_sidebar}
HTML code of custom content.
Shop-Script
Plugin code example
PHP
public function backendPagesSidebar()
{
$text = _wp('Custom notice text.');
return <<<HTML
<div class="box gray"><i class="fas fa-info-circle text-blue"></i> {$text}</div>
HTML;
}









