Summery Summery
Sanitizes and validates the list of theme status.
Syntax Syntax
Parameters Parameters
- $statuses
-
(Required) One or more theme statuses.
- $request
-
(Required) Full details about the request.
- $parameter
-
(Required) Additional parameter to pass to validation.
Return Return
(array|WP_Error) A list of valid statuses, otherwise WP_Error object.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
'readonly' => true, ), 'theme_supports' => array( 'description' => __( 'Features supported by this theme.' ), 'type' => 'object', 'readonly' => true, 'properties' => array(), ), 'theme_uri' => array( 'description' => __( 'The URI of the theme\'s webpage.' ), 'type' => 'object', 'readonly' => true, 'properties' => array(
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |