Home Forums Backend Issues (wp-admin) Add submenu to a custom post type menu Reply To: Add submenu to a custom post type menu

  • fine 🙂 then you can should use my code.

    hmm, dont know if it is possible to add it with plugin, because i dont know if this is true, when used with plugin:
    This function must be used before the action admin_menu (priority 99) as this is when the options pages are added to WordPress.

    just for testing, could you try to add it with functions.php and look if it works then

    maybe it would also work if you wrap that function inside your plugin with that code: to init it before admin_menu is created

    add_action('init', 'add_my_options_pages');
    function add_my_options_pages() {
        // put code from above in this function