Custom post-new page (1 post)

  1. Mat_
    Posted 6 years ago #

    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 !

Topic Closed

This topic has been closed to new replies.

About this Topic