Support » Plugin: Admin Page Framework » How can I create settings page with tabs under custom post type

  • I have a custom post type that was created the usual WP way, not using this framework.
    I am trying to add a tabbed settings page to the admin submenu.
    Is this possible?

Viewing 1 replies (of 1 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Yes.

    In the setUp() method, you would call the setRootMenuPageBySlug() with your post type slug and continue adding pages. Replace apf_posts with your own post type slug.

    
    $this->setRootMenuPageBySlug( 'edit.php?post_type=apf_posts' );
    
Viewing 1 replies (of 1 total)
  • The topic ‘How can I create settings page with tabs under custom post type’ is closed to new replies.