5

As the title says, I have not found any function to add an option page to a particular custom post type.

I would like to keep the option page related to a custom post type grouped together in its own panel, instead of adding it to the "Setting" panel, for example.

Any suggestion?

Thank you

6

use add_submenu_page() and as the pass

add_submenu_page('edit.php?post_type=YOUR_POST_TYPE_NAME',....);
  • Lovely, kudos for you ;) – Mirko Mar 23 '11 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.