Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_get_object_terms ›

Od2.8.0
Przestarzałyn/a
apply_filters( 'wp_get_object_terms', $terms, $object_ids, $taxonomies, $args )
Parametry: (4)
  • (array) $terms An array of terms for the given object or objects.
    Wymagane: Tak
  • (int|array) $object_ids Object ID or array of IDs.
    Wymagane: Tak
  • (string) $taxonomies SQL-formatted (comma-separated and quoted) list of taxonomy names.
    Wymagane: Tak
  • (array) $args An array of arguments for retrieving terms for the given object(s). See wp_get_object_terms() for details.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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