Changeset 47461 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 03/16/2020 06:38:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r47398 r47461 2644 2644 2645 2645 /** 2646 * Filters whether to retrieve the avatar URLearly.2646 * Allows the HTML for a user's avatar to be returned early. 2647 2647 * 2648 2648 * Passing a non-null value will effectively short-circuit get_avatar(), passing … … 2652 2652 * 2653 2653 * @param string|null $avatar HTML for the user's avatar. Default null. 2654 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,2654 * @param mixed $id_or_email The avatar to retrieve. Accepts a user_id, Gravatar MD5 hash, 2655 2655 * user email, WP_User object, WP_Post object, or WP_Comment object. 2656 2656 * @param array $args Arguments passed to get_avatar_url(), after processing. … … 2703 2703 2704 2704 /** 2705 * Filters the avatar to retrieve.2705 * Filters the HTML for a user's avatar. 2706 2706 * 2707 2707 * @since 2.5.0 2708 2708 * @since 4.2.0 The `$args` parameter was added. 2709 2709 * 2710 * @param string $avatar <img> tagfor the user's avatar.2711 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,2710 * @param string $avatar HTML for the user's avatar. 2711 * @param mixed $id_or_email The avatar to retrieve. Accepts a user_id, Gravatar MD5 hash, 2712 2712 * user email, WP_User object, WP_Post object, or WP_Comment object. 2713 2713 * @param int $size Square avatar width and height in pixels to retrieve. 2714 2714 * @param string $default URL for the default image or a default type. Accepts '404', 'retro', 'monsterid', 2715 * 'wavatar', 'indenticon', 'mystery' (or 'mm', or 'mysteryman'), 'blank', or 'gravatar_default'.2715 * 'wavatar', 'indenticon', 'mystery', 'mm', 'mysteryman', 'blank', or 'gravatar_default'. 2716 2716 * Default is the value of the 'avatar_default' option, with a fallback of 'mystery'. 2717 2717 * @param string $alt Alternative text to use in the avatar image tag. Default empty.
Note: See TracChangeset
for help on using the changeset viewer.