backend_page_edit

Allows adding of custom content to the top info page editing toolbar.

Blog

Input (passed by reference)

$params array Associative array of the page being edited, from the database table blog_page.
… your plugin code …

Output

{$backend_page_edit.action_button_li}
HTML code of a custom <li> element in the page editing toolbar.
Blog

Plugin code example

PHP

public function backendPageEdit($params)
{
    return [
        'action_button_li' => '<li><span class="hint"><i class="fas fa-info-circle text-blue"></i> '
            . _wp('Custom info here')
            . '</span></li>',
    ];
}