| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
REST API: WP_REST_Term_Meta_Fields class
| File Size: | 70 lines (1 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WP_REST_Term_Meta_Fields:: (4 methods):
__construct()
get_meta_type()
get_meta_subtype()
get_rest_field_type()
Class: WP_REST_Term_Meta_Fields - X-Ref
Core class used to manage meta values for terms via the REST API.| __construct( $taxonomy ) X-Ref |
| Constructor. param: string $taxonomy Taxonomy to register fields for. since: 4.7.0 |
| get_meta_type() X-Ref |
| Retrieves the term meta type. since: 4.7.0 return: string The meta type. |
| get_meta_subtype() X-Ref |
| Retrieves the term meta subtype. since: 4.9.8 return: string Subtype for the meta type, or empty string if no specific subtype. |
| get_rest_field_type() X-Ref |
| Retrieves the type for register_rest_field(). since: 4.7.0 return: string The REST field type. |
| Generated: Sun Nov 2 01:00:02 2025 | Cross-referenced by PHPXref 0.7.1 |