A WordPress-centric search engine for devs and theme authors



get_object_terms ›

Since4.2.0
Deprecatedn/a
apply_filters( 'get_object_terms', $terms, $object_ids, $taxonomies, $args )
Parameters: (4)
  • (array) $terms An array of terms for the given object or objects.
    Required: Yes
  • (array) $object_ids Array of object IDs for which `$terms` were retrieved.
    Required: Yes
  • (array) $taxonomies Array of taxonomies from which `$terms` were retrieved.
    Required: Yes
  • (array) $args An array of arguments for retrieving terms for the given object(s). See wp_get_object_terms() for details.
    Required: Yes
Defined at:
Codex:

Filters the terms for a given object or objects.





Source

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