wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_avatar_sizes › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( 'rest_avatar_sizes', array( 24, 48, 96 )
| Parameters: |
|
| Defined at: |
|
| Codex: |
Filters the REST avatar sizes.
Use this filter to adjust the array of sizes returned by the `rest_get_avatar_sizes` function.Related Functions: rest_get_avatar_sizes, rest_get_avatar_urls, get_avatar, get_avatar_url, get_avatar_data, wp_reset_vars
Related Hooks: get_avatar, get_avatar_url, pre_get_avatar, rest_get_max_batch_size, rest_save_sidebar