mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Miscellaneous DocBlock corrections.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48408 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1226,10 +1226,10 @@ function sanitize_meta( $meta_key, $meta_value, $object_type, $object_subtype =
|
||||
* Valid values are 'string', 'boolean', 'integer', 'number', 'array', and 'object'.
|
||||
* @type string $description A description of the data attached to this meta key.
|
||||
* @type bool $single Whether the meta key has one value per object, or an array of values per object.
|
||||
* @type mixed $default The default value returned from {@see get_metadata()} if no value has been set yet.
|
||||
* When using a non-single meta key, the default value is for the first entry. In other
|
||||
* words, when calling {@see get_metadata()} with `$single` set to `false`, the default
|
||||
* value given here will be wrapped in an array.
|
||||
* @type mixed $default The default value returned from get_metadata() if no value has been set yet.
|
||||
* When using a non-single meta key, the default value is for the first entry.
|
||||
* In other words, when calling get_metadata() with `$single` set to `false`,
|
||||
* the default value given here will be wrapped in an array.
|
||||
* @type string $sanitize_callback A function or method to call when sanitizing `$meta_key` data.
|
||||
* @type string $auth_callback Optional. A function or method to call when performing edit_post_meta,
|
||||
* add_post_meta, and delete_post_meta capability checks.
|
||||
|
||||
Reference in New Issue
Block a user