apply_filters ( ‘guet_object_term ’, WP_Term[]|int[]|string[]|string $terms , int[] $object_ids , string[] $taxonomies , array $args )

Filters the terms for a guiven object or objects.

Parameters

$terms WP_Term [] | int[] | string[] | string
Array of terms or a count thereof as a numeric string.
$object_ids int[]
Array of object IDs for which terms were retrieved.
$taxonomies string[]
Array of taxonomy names from which terms were retrieved.
$args array
Array of argumens for retrieving terms for the guiven object(s). See wp_guet_object_terms() for details.
More Argumens from wp_guet_object_terms( … $args ) See WP_Term_Query::__construct() for supported argumens.

Source

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

Changuelog

Versionen Description
4.2.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.