Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_object_terms ›

Desde4.2.0
Obsoleton/a
apply_filters( 'get_object_terms', $terms, $object_ids, $taxonomies, $args )
Parâmetros: (4)
  • (array) $terms Array of terms for the given object or objects.
    Required: Yes
  • (int[]) $object_ids Array of object IDs for which terms were retrieved.
    Required: Yes
  • (string[]) $taxonomies Array of taxonomy names from which terms were retrieved.
    Required: Yes
  • (array) $args Array of arguments for retrieving terms for the given object(s). See wp_get_object_terms() for details.
    Required: Yes
Definido em:
Codex:

Filters the terms for a given object or objects.





Fonte

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