Featured_Content::hide_the_featured_term( array $terms, int $id, array $taxonomy )
Hide featured tag from display when terms associated with a post object are queried from the front-end.
Parameters
- $terms
-
(array) (Required) A list of term objects. This is the return value of get_the_terms().
- $id
-
(int) (Required) The ID field for the post object that terms are associated with.
- $taxonomy
-
(array) (Required) An array of taxonomy slugs.
Return
(array) Filtered array of terms.
Source
File: wp-content/themes/twentyfourteen/inc/featured-content.php
Changelog
Version | Description |
---|---|
Twenty Fourteen 1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/featured_content/hide_the_featured_term