Summery Summery
Filters a given object’s ancestors.
Syntax Syntax
Parameters Parameters
- $ancestors
-
(int[]) An array of IDs of object ancestors.
- $object_id
-
(int) Object ID.
- $object_type
-
(string) Type of object.
- $resource_type
-
(string) Type of resource $object_type is.
Source Source
File: wp-includes/taxonomy.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.1.1 | Introduced the $resource_type parameter. |
3.1.0 | Introduced. |