Use single and plural Label arguments to populate defaults for Labels in register_post_type
|Reported by:||ericlewis||Owned by:|
|Component:||Posts, Post Types||Keywords:||close|
When creating a post type, the $labels array seems a bit superfluous to me, given that there is a singular name for the post type and an option for a plural one in the argument 'label'. Including every custom label string as arguments also tends to bloat code for each post type definition, and I've begun to use a wrapper for register_post_types to deal with this.
Change History (5)
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed