wp_get_post_terms Wordpress function


Description:

Retrieve the terms for a post.


Syntax:


Arguments:

(int) $post_id Optional. The Post ID
(string) $taxonomy The taxonomy for which to retrieve terms. Defaults to post_tag.
(array) $args Optional. Overwrite the defaults


Return Type:

(array) List of post tags.


Define At:

wp-includes/post.php


Wordpress Reference URL:

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