-
Notifications
You must be signed in to change notification settings - Fork 26
Post Metadata
Justin Tadlock edited this page Jul 29, 2014
·
14 revisions
Post Metadata standards for general use across multiple post types.
- Meta keys should be all lowercase letters (
thing
rather thanThing
). - Meta keys should be prefixed with an underscore (
_thing
). - Meta keys should also be prefixed with the post type name with exceptions for longer post type names (
_post_type_thing
). - Multiple words should be split with an underscore (
_post_type_thing_a
).