Docs: Various docblock corrections relating to parameter types.

See #51800


git-svn-id: https://develop.svn.wordpress.org/trunk@49692 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-11-24 21:20:36 +00:00
parent c869ef617e
commit f2c9d2851c
4 changed files with 15 additions and 9 deletions

View File

@@ -216,7 +216,7 @@ class WP_Site_Icon {
* array of values.
* @param int $post_id Post ID.
* @param string $meta_key Meta key.
* @param string|array $single Meta value, or an array of values.
* @param bool $single Whether to return only the first value of the specified `$meta_key`.
* @return array|null|string The attachment metadata value, array of values, or null.
*/
public function get_post_metadata( $value, $post_id, $meta_key, $single ) {