wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_the_terms › WordPress Filter Hooks

Da3.1.0
Deprecaton/a
› apply_filters( 'get_the_terms', $terms, $post->ID, $taxonomy )
Parametri: (3)
  • () terms Array of attached terms, or WP_Error on failure.
    Richiesto: Sì
  • () post_id Post ID.
    Richiesto: Sì
  • () taxonomy Name of the taxonomy.
    Richiesto: Sì
Definito a:
Codex:

Filters the list of terms attached to the given post.





Sorgenti

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