wp-content/themes/twentyfourteen/inc/featured-content.php:335Hides featured tag from display when terms associated with a post object are queried from the front end.
$termsarray$idint$taxonomyarrayarray public static function hide_the_featured_term( $terms, $id, $taxonomy ) { // This filter is only appropriate on the front end. if ( is_admin() ) { return $terms; } // Make sure we are in the correct taxonomy. if ( 'post_tag' !== $taxonomy ) { return $terms; } // No terms? Return early! if ( empty( $terms ) ) { return $terms; } $settings = self::get_setting(); foreach ( $terms as $order => $term ) { if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) { unset( $terms[ $term->term_id ] ); } } return $terms; }Introduced in Twenty Fourteen 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyfourteen/inc/featured-content.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.