I writing a plugin and need to place a custom menu withing the “Write Post” screen. I’ve searched around but couldn’t find any information on that. How can that be accomplished programmatically?
There are several hooks for that: dbx_page_advanced and dbx_post_advanced are hooks for menus right under the edit box. They seem to be expandable, whereas their counterparts edit_page_form (for pages) and edit_form_advanced (for posts) are not.
To add menus to the edit sidebar, one has to hook into dbx_page_sidebar or dbx_post_sidebar.
A related file is wp-admin/edit-page-form.php.
Viewing 1 replies (of 1 total)
The topic ‘How to add a menu in the admin backend’ is closed to new replies.