apply_filters( 'get_the_terms', WP_Term[]|WP_Error $terms , int $post_id , string $taxonomy )
Filters the list of terms attached to the given post.
Parameters
Source
File: wp-includes/category-template.php
.
View all references
$terms = apply_filters( 'get_the_terms', $terms, $post->ID, $taxonomy );
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |