get_object_terms

最后更新于:2021-11-26 22:41:58

apply_filters( ‘get_object_terms’, GC_Term[] $terms, int[] $object_ids, string[] $taxonomies, array $args )

Filters the terms for a given object or objects.

参数

$terms

(GC_Term[])
Array of terms for the given object or objects.

$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 arguments for retrieving terms for the given object(s). See gc_get_object_terms() for details.

源文件

文件: gc-includes/taxonomy.php

View on Trac