[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Taxonomy API: WP_Term class
File Size: | 245 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
get_instance( $term_id, $taxonomy = null ) X-Ref |
Retrieve WP_Term instance. param: int $term_id Term ID. param: string $taxonomy Optional. Limit matched terms to those matching `$taxonomy`. Only used for return: WP_Term|WP_Error|false Term object, if found. WP_Error if `$term_id` is shared between taxonomies and |
__construct( $term ) X-Ref |
Constructor. param: WP_Term|object $term Term object. |
filter( $filter ) X-Ref |
Sanitizes term fields, according to the filter type provided. param: string $filter Filter context. Accepts 'edit', 'db', 'display', 'attribute', 'js', 'rss', or 'raw'. |
to_array() X-Ref |
Converts an object to array. return: array Object as array. |
__get( $key ) X-Ref |
Getter. param: string $key Property to get. return: mixed Property value. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |