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



wp_get_object_terms ›

Seit2.8.0
Veraltetn/v
apply_filters( 'wp_get_object_terms', $terms, $object_ids, $taxonomies, $args )
Parameter: (4)
  • (array) $terms Array of terms for the given object or objects.
    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.

The $taxonomies parameter passed to this filter is formatted as a SQL fragment. The {@see 'get_object_terms'} filter is recommended as an alternative.





Quellcode

return apply_filters( 'wp_get_object_terms', $terms, $object_ids, $taxonomies, $args );