Ready to get started?Download WordPress


Want to add register post type in a sub menu of a plugin (1 post)

  1. whitewayweb
    Posted 1 year ago #


    I am creating new plugin and i want to add custom post type functionality in it.
    I Want to add register post type as a sub menu page of the plugin.

    I am using this code from here : http://codex.wordpress.org/Function_Reference/register_post_type
    But it is added as a separate menu in admin and not as a sub menu in my plugin.
    Is there any way to make it as a sub menu of my plugin and not of wordpress menu.


Topic Closed

This topic has been closed to new replies.

About this Topic