get_the_terms Wordpress function


Description:

Retrieve the terms of the taxonomy that are attached to the post.


Syntax:


Arguments:

(mixed) $post Post ID or object.
(string) $taxonomy Taxonomy name.


Return Type:

(array|bool) False on failure. Array of term objects on success.


Define At:

wp-includes/category-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_the_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 ×