Make WordPress Core


Ignore:
Timestamp:
08/11/2022 02:01:35 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve the documented types for various functions and hooks.

See #55646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api.php

    r53455 r53877  
    11921192 * @param mixed $id_or_email The Gravatar to retrieve a URL for. Accepts a user_id, gravatar md5 hash,
    11931193 *                           user email, WP_User object, WP_Post object, or WP_Comment object.
    1194  * @return array Avatar URLs keyed by size. Each value can be a URL string or boolean false.
     1194 * @return (string|false)[] Avatar URLs keyed by size. Each value can be a URL string or boolean false.
    11951195 */
    11961196function rest_get_avatar_urls( $id_or_email ) {
Note: See TracChangeset for help on using the changeset viewer.