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



get_object_terms ›

Depuis4.2.0
Dépréciéen/a
apply_filters( 'get_object_terms', $terms, $object_ids, $taxonomies, $args )
Paramètres: (4)
  • (array) $terms Array of terms for the given object or objects.
    Requis: Oui
  • (int[]) $object_ids Array of object IDs for which terms were retrieved.
    Requis: Oui
  • (string[]) $taxonomies Array of taxonomy names from which terms were retrieved.
    Requis: Oui
  • (array) $args Array of arguments for retrieving terms for the given object(s). See wp_get_object_terms() for details.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the terms for a given object or objects.





Source

$terms = apply_filters( 'get_object_terms', $terms, $object_ids, $taxonomies, $args );