wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
pre_get_avatar › Hooks de Filtros WordPress
Desde4.2.0
Obsoleton/a
› apply_filters( 'pre_get_avatar', null, $id_or_email, $args )
Parâmetros: (3) |
|
Definido em: |
|
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.
Funções relacionadas: get_avatar, rest_get_avatar_urls, rest_get_avatar_sizes, get_avatar_url, get_avatar_data, wp_reset_vars