wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_avatar_sizes › Hooks de Filtros WordPress

Desde4.4.0
Obsoleton/a
apply_filters( 'rest_avatar_sizes', array( 24, 48, 96 )
Parâmetros:
  • (int[]) $sizes An array of int values that are the pixel sizes for avatars. Default `[ 24, 48, 96 ]`.
    Required: Yes
Definido em:
Codex:

Filters the REST avatar sizes.

Use this filter to adjust the array of sizes returned by the rest_get_avatar_sizes function.





Fonte

return apply_filters( 'rest_avatar_sizes', array( 24, 48, 96 ) );