wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_object_terms › WordPress Filter Hooks

Seit4.2.0
Veraltetn/v
apply_filters( 'get_object_terms', $terms, $object_ids, $taxonomies, $args )
Parameter: (4)
  • (WP_Term[]|int[]|string[]|string) $terms Array of terms or a count thereof as a numeric string.
    Erforderlich: Ja
  • (int[]) $object_ids Array of object IDs for which terms were retrieved.
    Erforderlich: Ja
  • (string[]) $taxonomies Array of taxonomy names from which terms were retrieved.
    Erforderlich: Ja
  • (array) $args Array of arguments for retrieving terms for the given object(s). See wp_get_object_terms() for details.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the terms for a given object or objects.





Quellcode

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