2020-05-01 / 1932阅 / 悠然
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.>
ID of Term to get children.
(array|WP_Error) List of Term IDs. WP_Error returned if $taxonomy does not exist.