W3cubDocs

/WordPress

apply_filters( ‘wp_get_object_terms_args’, array $args, int[] $object_ids, string[] $taxonomies )

Filters arguments for retrieving object terms.

Parameters

$argsarray
An array of arguments for retrieving terms for the given object(s).
See wp_get_object_terms() for details.
$object_idsint[]
Array of object IDs.
$taxonomiesstring[]
Array of taxonomy names to retrieve terms from.

Source

$args = apply_filters( 'wp_get_object_terms_args', $args, $object_ids, $taxonomies );

Changelog

Version Description
4.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_object_terms_args