wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_object_terms › WordPress过滤钩子

Since4.2.0
已弃用n/a
› apply_filters( 'get_object_terms', $terms, $object_ids, $taxonomies, $args )
参数: (4)
  • () terms Array of terms or a count thereof as a numeric string.
    Required: Yes
  • () object_ids Array of object IDs for which terms were retrieved.
    Required: Yes
  • () taxonomies Array of taxonomy names from which terms were retrieved.
    Required: Yes
  • () args Array of arguments for retrieving terms for the given object(s). See {@see \wp_get_object_terms()} for details.
    Required: Yes
定义在:
文档:

Filters the terms for a given object or objects.





源码

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