Used By
Used By | Description |
---|---|
wp-includes/taxonomy.php: get_ancestors() | Get an array of ancestor IDs for a given object. |
Filters a given object’s ancestors.
(int[]) An array of IDs of object ancestors.
(int) Object ID.
(string) Type of object.
(string) Type of resource $object_type is.
File: wp-includes/taxonomy.php
Version | Description |
---|---|
4.1.1 | Introduced the $resource_type parameter. |
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_ancestors