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 Parameters


(WP_Term[]|WP_Error) Array of attached terms, or WP_Error on failure.


(int) Post ID.


(string) Name of the taxonomy.

Top ↑

Source Source

File: wp-includes/category-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.