wp_get_object_terms_args

过滤钩子


apply_filters( 'wp_get_object_terms_args', $args, $object_ids, $taxonomies )
参数
  • (array)
    $args
    An array of arguments for retrieving terms for the given object(s).
    See {@see wp_get_object_terms()} for details.
    Required:
  • (int[])
    $object_ids
    Array of object IDs.
    Required:
  • (string[])
    $taxonomies
    Array of taxonomy names to retrieve terms from.
    Required:
定义位置
  • wp-includes/taxonomy.php
    , line 2219
引入
4.9.0
弃用

Filters arguments for retrieving object terms.

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