equal
deleted
inserted
replaced
15 * @see WP_REST_Meta_Fields |
15 * @see WP_REST_Meta_Fields |
16 */ |
16 */ |
17 class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields { |
17 class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields { |
18 |
18 |
19 /** |
19 /** |
20 * Retrieves the object meta type. |
20 * Retrieves the user meta type. |
21 * |
21 * |
22 * @since 4.7.0 |
22 * @since 4.7.0 |
23 * |
23 * |
24 * @return string The user meta type. |
24 * @return string The user meta type. |
25 */ |
25 */ |
26 protected function get_meta_type() { |
26 protected function get_meta_type() { |
27 return 'user'; |
27 return 'user'; |
28 } |
28 } |
29 |
29 |
30 /** |
30 /** |
31 * Retrieves the object meta subtype. |
31 * Retrieves the user meta subtype. |
32 * |
32 * |
33 * @since 4.9.8 |
33 * @since 4.9.8 |
34 * |
34 * |
35 * @return string 'user' There are no subtypes. |
35 * @return string 'user' There are no subtypes. |
36 */ |
36 */ |