Core Class
View Source on Trac ↗
Core Class
WP_REST_Term_Meta_Fields
class WP_REST_Term_Meta_Fields
// Constructor: function Object() { [native code] } Core class used to manage meta values for terms via the REST API.
Methods 4 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor.
Parameters: $taxonomy: mixed |
| get_meta_type() string | Retrieves the term meta type. |
| get_meta_subtype() string | Retrieves the term meta subtype. |
| get_rest_field_type() string | Retrieves the type for register_rest_field(). |
Properties
| Property / Type | Description |
|---|---|
| $taxonomy mixed public | No description available. |
Class Information
Since Version
4.7.0
Source File
wp-includes/rest-api/fields/class-wp-rest-term-meta-fields.php
Advertisement