Core Function
View Source on Trac ↗ rest_get_avatar_sizes()
rest_get_avatar_sizes( ) Retrieves the pixel sizes for avatars.
Return Value
(int[])
List of pixel sizes for avatars. Default `[ 24, 48, 96 ]`.
Function Information
Since Version
4.7.0
Source File
wp-includes/rest-api.php
Advertisement