wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
pre_get_avatar › Les Filtres WordPress
Depuis4.2.0
Dépréciéen/a
› apply_filters( 'pre_get_avatar', null, $id_or_email, $args )
Paramètres: (3) |
|
Défini(e) dans: |
|
Codex: |
Allows the HTML for a user's avatar to be returned early.
Returning a non-null value will effectively short-circuit get_avatar(), passing the value through the {@see 'get_avatar'} filter and returning early.
Fonctions en relation: get_avatar, rest_get_avatar_urls, rest_get_avatar_sizes, get_avatar_url, get_avatar_data, wp_reset_vars