mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-23 09:12:51 +00:00
Introduce an `object_subtype` argument to the args array for `register_meta()` which can be used to limit meta registration to a single subtype (e.g. a custom post type or taxonomy, vs all posts or taxonomies). Introduce `register_post_meta()` and `register_term_meta()` wrapper methods for `register_meta` to provide a convenient interface for the common case of registering meta for a specific taxonomy or post type. These methods work the way plugin developers have often expected `register_meta` to function, and should be used in place of direct `register_meta` where possible. Props flixos90, tharsheblows, spacedmonkey. Fixes #38323. git-svn-id: https://develop.svn.wordpress.org/trunk@43378 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| cache.php | ||
| categoryExists.php | ||
| getEditTermLink.php | ||
| getTagLink.php | ||
| getTerm.php | ||
| getTermBy.php | ||
| getTermField.php | ||
| getTermLink.php | ||
| getTermParentsList.php | ||
| getTerms.php | ||
| getTheTerms.php | ||
| isObjectInTerm.php | ||
| meta.php | ||
| query.php | ||
| slashes.php | ||
| splitSharedTerm.php | ||
| taxQuery.php | ||
| termExists.php | ||
| wpDeleteObjectTermRelationships.php | ||
| wpDeleteTerm.php | ||
| wpGenerateTagCloud.php | ||
| wpGetObjectTerms.php | ||
| wpInsertTerm.php | ||
| wpRemoveObjectTerms.php | ||
| wpSetObjectTerms.php | ||
| wpTaxonomy.php | ||
| wpTerm.php | ||
| wpUniqueTermSlug.php | ||
| wpUpdateTerm.php | ||