How to Hook into WordPress Custom Post Type Dashboard menu items

I am working on a WordPress plugin that will use a Custom Post Type.

I have created the Post type the standard WP way using the register_post_type('wpbp-backgrounds', $args); with the required args.

Read More

Creating the posts in this fashion creates the WP Dashboard menu items I need to access the new Custom Post.

The new menu I have is:

  • WP Backgrounds
    • Backgrounds
    • Add New Background

What I would like to do is hook into this Dashboard menu and add a third item which I can link to the plugin settings page. The menu would look like this:

  • WP Backgrounds
    • Backgrounds
    • Add New Background
    • Settings

Is this something that is possible? Any help would be greatly appreciated.

Related posts

Leave a Reply

1 comment