wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_the_terms › Les Filtres WordPress

Depuis3.1.0
Dépréciéen/a
› apply_filters( 'get_the_terms', $terms, $post->ID, $taxonomy )
Paramètres: (3)
  • () terms Array of attached terms, or WP_Error on failure.
    Requis: Oui
  • () post_id Post ID.
    Requis: Oui
  • () taxonomy Name of the taxonomy.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list of terms attached to the given post.





Source

$terms = apply_filters( 'get_the_terms', $terms, $post->ID, $taxonomy );