Summery Summery
Retrieves the item’s schema for display / public consumption purposes.
Syntax Syntax
Return Return
(array) Public item schema data.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-controller.php
'type' => 'integer', 'default' => 1, 'sanitize_callback' => 'absint', 'validate_callback' => 'rest_validate_request_arg', 'minimum' => 1, ), 'per_page' => array( 'description' => __( 'Maximum number of items to be returned in result set.' ), 'type' => 'integer', 'default' => 10, 'minimum' => 1, 'maximum' => 100,
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |