get_term_children Wordpress function


Description:

Merge all term children into a single array of their IDs.


Syntax:


Arguments:

(string) $term_id ID of Term to get children
(string) $taxonomy Taxonomy Name


Return Type:

(array|WP_Error) List of Term Objects. WP_Error returned if $taxonomy does not exist


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_term_children


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×