Summery Summery
Aborts calls to term meta if it is not supported.
Syntax Syntax
Parameters Parameters
- $check
-
(Required) Skip-value for whether to proceed term meta function execution.
Return Return
(mixed) Original value of $check, or false if term meta is not supported.
Source Source
File: wp-includes/taxonomy.php
if ( 'taxonomy' === $resource_type ) { $term = get_term( $object_id, $object_type ); while ( ! is_wp_error( $term ) && ! empty( $term->parent ) && ! in_array( $term->parent, $ancestors, true ) ) { $ancestors[] = (int) $term->parent; $term = get_term( $term->parent, $object_type ); } } elseif ( 'post_type' === $resource_type ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |