rest_avatar_sizes

Advertisement

Summery Summery

Filters the REST avatar sizes.

Syntax Syntax

apply_filters( 'rest_avatar_sizes', int[] $sizes )

Description Description

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

Parameters Parameters

$sizes

(int[]) An array of int values that are the pixel sizes for avatars. Default [ 24, 48, 96 ].

Source Source

File: wp-includes/rest-api.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.