• Hi everyone,
    I’m looking for a way to use a custom post-new.php page in my wp plugin.

    I’m actually using add_submenu_page(__FILE__,’Add Listing’, ‘Add Listing’, 0, ‘post-new.php?ref=myref’);
    It adds a link to my admin menu, but it redirects to the post-new.php page.
    I would like to “stay” even if it’s just virtual on my plugin side.

    Finally, i would like to be able to modify some part in this new page, like restrict some categories, add custom data …
    If anyone can help m 🙂

    Thanks a lot !

  • The topic ‘Custom post-new page’ is closed to new replies.