WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50292, comment 2


Ignore:
Timestamp:
06/01/2020 10:05:42 AM (16 months ago)
Author:
ninetyninew
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50292, comment 2

    initial v1  
    11Okay, I think i've missed this - mostly due to using a post type generator website to get the code for registering a post type which is missing these new values.
    22
    3 I wonder if there is any appetite for a simplised function here to define the post type singular and plural name as opposed to the entire label set and then all these get populated for you - to save instances of this where some new label for a post type maybe added later you'd already have those populated correctly?
     3I wonder if there is any appetite for an additional simpler function here which could be used instead of the standard label set to define the post type singular and plural name as opposed to the entire label set and then all these get populated for you - to save instances of this where some new label for a post type maybe added later you'd already have those populated correctly?