WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_the_terms

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/category-template.php apply_filters 1313 /**
* Filters the list of terms attached to the given post.
*
* @since 3.1.0
*
* @param WP_Term[]|WP_Error $terms Array of attached terms, or WP_Error on failure.
* @param int $post_id Post ID.
* @param string $taxonomy Name of the taxonomy.
*/

Hook Parameters

Parameter Type Name Description
WP_Term[]|WP_Error $terms Array of attached terms, or WP_Error on failure.
int $post_id Post ID.
string $taxonomy Name of the taxonomy.