Changeset 45810 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 08/15/2019 08:03:18 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r45807 r45810 103 103 * Optional. An array of arguments used to handle the registered field. 104 104 * 105 * @type string|array|null $get_callback Optional. The callback function used to retrieve the field106 * value. Default is 'null', the field will not be returned in107 * the response.108 * @type string|array|null $update_callback Optional. The callback function used to set and update the109 * field value. Default is 'null', the value cannot be set or110 * updated.111 * @type string|array|null $schema Optional. The callback function used to create the schema for112 * this field.Default is 'null', no schema entry will be returned.105 * @type callable|null $get_callback Optional. The callback function used to retrieve the field value. Default is 106 * 'null', the field will not be returned in the response. The function will 107 * be passed the prepared object data. 108 * @type callable|null $update_callback Optional. The callback function used to set and update the field value. Default 109 * is 'null', the value cannot be set or updated. The function will be passed 110 * the model object, like WP_Post. 111 * @type array|null $schema Optional. The callback function used to create the schema for this field. 112 * Default is 'null', no schema entry will be returned. 113 113 * } 114 114 */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)