Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/rest-api.php | apply_filters | 1242 | /** * Filters the REST avatar sizes. * * Use this filter to adjust the array of sizes returned by the * `rest_get_avatar_sizes` function. * * @since 4.4.0 * * @param int[] $sizes An array of int values that are the pixel sizes for avatars. * Default `[ 24, 48, 96 ]`. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int[] | $sizes | An array of int values that are the pixel sizes for avatars. |