Summery Summery
Sanitize a request argument based on details registered to the route.
Syntax Syntax
Parameters Parameters
- $value
-
(Required)
- $request
-
(Required)
- $param
-
(Required)
Return Return
(mixed)
Source Source
File: wp-includes/rest-api.php
* * @since 4.7.0 * * @return int[] List of pixel sizes for avatars. Default `[ 24, 48, 96 ]`. */ function rest_get_avatar_sizes() { /** * Filters the REST avatar sizes. *
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |