2020-05-01 / 2126阅 / 悠然
Merge all term children into a single array of their IDs.
This recursive function will merge all of the children of $term into the same array of term IDs.>
(int)
(Required)
ID of Term to get children.
(string)
(Required)
Taxonomy Name.
(array|WP_Error) List of Term IDs. WP_Error returned if $taxonomy does not exist.