[wp-trac] [WordPress Trac] #27286: create menu page for custom post types
WordPress Trac
noreply at wordpress.org
Fri Mar 7 12:51:09 UTC 2014
#27286: create menu page for custom post types
------------------------------------+------------------------------
Reporter: norcross | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by norcross):
Replying to [comment:2 nacin]:
> Hmm. Aside from the fact that add_post_type_page() is far, far too
ambiguous of a name (not your fault, you're just following existing
convention), what's the use case here?
>
> Perhaps something like #17447 would solve your issue?
I agree the name is vague, but wasn't sure about naming outside the
convention.
My particular use cases are as follows:
* settings page for a plugin using CPTs
* archive page info (page title / description) for CPT (not a taxonomy)
* a drag and drop sorting page for CPT
these are just examples of things I've done this week for actual client
work.
the ticket you referenced wouldn't address this as it isn't modifying an
argument to the post type itself, rather, adding a new menu page.
actual hook naming aside, my goal here was standardization, since CPTs are
now so widely used.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27286#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list