get_ancestors

过滤钩子


apply_filters( 'get_ancestors', $ancestors, $object_id, $object_type, $resource_type )
定义位置
  • wp-includes/taxonomy.php
    , line 4882
引入
n/a
弃用

这个过滤器在wp-includes/taxonomy.php中有记录。

return apply_filters( 'get_ancestors', $ancestors, $object_id, $object_type, $resource_type );