sitecrafting / conifer

:evergreen_tree: A powerful WordPress library plugin for OO development
https://www.coniferplug.in
MIT License
18 stars 2 forks source link

Clarify what Post::type_options() is for #122

Closed acobster closed 4 years ago

acobster commented 4 years ago

The docs really only reference using ::type_options() for labels, but it's actually much more general than that. Clarify that it can return any valid args to register_post_type(), along with the special label shorthands that Conifer supports.

Also, the example code is missing a comma:

'add_new_item'     => 'Onboard New Person'