wp-content/themes/twentyfourteen/inc/featured-content.php:288Hide featured tag from displaying when global terms are queried from the front end.
$termsarray$taxonomiesarray$argsarrayarray public static function hide_featured_term( $terms, $taxonomies, $args ) { // This filter is only appropriate on the front end. if ( is_admin() ) { return $terms; } // We only want to hide the featured tag. if ( ! in_array( 'post_tag', $taxonomies, true ) ) { return $terms; } // Bail if no terms were returned. if ( empty( $terms ) ) { return $terms; } // Bail if term objects are unavailable. if ( 'all' !== $args['fields'] ) { 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[ $order ] ); } } 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.