WordPress at a glance
function is not described

rest_get_avatar_sizes() WP 4.7.0

Retrieves the pixel sizes for avatars.

Hooks from the function
Return

Array. List of pixel sizes for avatars.

Usage

rest_get_avatar_sizes();

Changelog

Since 4.7.0 Introduced.

Code of rest get avatar sizes: wp-includes/rest-api.php WP 5.2.2

<?php
function rest_get_avatar_sizes() {
	/**
	 * 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 array $sizes An array of int values that are the pixel sizes for avatars.
	 *                     Default `[ 24, 48, 96 ]`.
	 */
	return apply_filters( 'rest_avatar_sizes', array( 24, 48, 96 ) );
}