Docs: Various corrections and improvements to inline documentation.

See #55646


git-svn-id: https://develop.svn.wordpress.org/trunk@53827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-08-04 14:50:27 +00:00
parent bd6f081030
commit c47f438376
13 changed files with 29 additions and 27 deletions
+2 -2
View File
@@ -1635,7 +1635,7 @@ function unregister_meta_key( $object_type, $meta_key, $object_subtype = '' ) {
}
/**
* Retrieves a list of registered meta keys for an object type.
* Retrieves a list of registered metadata args for an object type, keyed by their meta keys.
*
* @since 4.6.0
* @since 4.9.8 The `$object_subtype` parameter was added.
@@ -1643,7 +1643,7 @@ function unregister_meta_key( $object_type, $meta_key, $object_subtype = '' ) {
* @param string $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user',
* or any other object type with an associated meta table.
* @param string $object_subtype Optional. The subtype of the object type.
* @return string[] List of registered meta keys.
* @return array[] List of registered metadata args, keyed by their meta keys.
*/
function get_registered_meta_keys( $object_type, $object_subtype = '' ) {
global $wp_meta_keys;