diff --git src/wp-includes/meta.php src/wp-includes/meta.php
index 9bd989540c..67d274b4a8 100644
|
|
function sanitize_meta( $meta_key, $meta_value, $object_type, $object_subtype = |
1129 | 1129 | * @type bool $single Whether the meta key has one value per object, or an array of values per object. |
1130 | 1130 | * @type string $sanitize_callback A function or method to call when sanitizing `$meta_key` data. |
1131 | 1131 | * @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. |
1132 | | * @type bool $show_in_rest Whether data associated with this meta key can be considered public. |
| 1132 | * @type bool $show_in_rest Whether data associated with this meta key can be considered public and |
| 1133 | * should be accessible via the REST API. A custom post type must also declare |
| 1134 | * support for custom fields for registered meta to be accessible via REST. |
1133 | 1135 | * } |
1134 | 1136 | * @param string|array $deprecated Deprecated. Use `$args` instead. |
1135 | 1137 | * |