- Timestamp:
- 10/30/2016 06:27:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
r38832 r39034 1 1 <?php 2 /** 3 * REST API: WP_REST_User_Meta_Fields class 4 * 5 * @package WordPress 6 * @subpackage REST_API 7 * @since 4.7.0 8 */ 2 9 10 /** 11 * Core class used to manage meta values for users via the REST API. 12 * 13 * @since 4.7.0 14 * 15 * @see WP_REST_Meta_Fields 16 */ 3 17 class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields { 18 4 19 /** 5 * Get the object type for meta.20 * Retrieves the object meta type. 6 21 * 7 * @return string 22 * @since 4.7.0 23 * @access protected 24 * 25 * @return string The user meta type. 8 26 */ 9 27 protected function get_meta_type() { … … 12 30 13 31 /** 14 * Get the type for `register_rest_field`.32 * Retrieves the type for register_rest_field(). 15 33 * 16 * @return string 34 * @since 4.7.0 35 * @access public 36 * 37 * @return string The user REST field type. 17 38 */ 18 39 public function get_rest_field_type() {
Note: See TracChangeset
for help on using the changeset viewer.