get_terms Wordpress function


Description:

Retrieve the terms in a given taxonomy or list of taxonomies.


Syntax:


Arguments:

(string|array) $taxonomies Taxonomy name or list of Taxonomy names
(string|array) $args The values of what to search for when returning terms


Return Type:

(array|WP_Error) List of Term Objects and their children. Will return WP_Error, if any of $taxonomies do not exist.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

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


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