wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_avatar_sizes › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'rest_avatar_sizes', array( 24, 48, 96 )
Parametri:
  • () sizes An array of int values that are the pixel sizes for avatars. Default `[ 24, 48, 96 ]`.
    Richiesto: Sì
Definito a:
Codex:

Filters the REST avatar sizes.

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




Sorgenti

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