wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_get_avatar_data › WordPress Filter Hooks
Since4.2.0
Deprecatedn/a
› apply_filters( 'pre_get_avatar_data', $args, $id_or_email )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters whether to retrieve the avatar URL early.
Passing a non-null value in the 'url' member of the return array will effectively short circuit get_avatar_data(), passing the value through the {@see 'get_avatar_data'} filter and returning early.
Related Functions: get_avatar_data, rest_get_avatar_urls, rest_get_avatar_sizes, wp_get_update_data, get_avatar, get_avatar_url