get_tag Wordpress function


Description:

Retrieve post tag by tag ID or tag object.


Syntax:


Arguments:

(int|object) $tag
(string) $output Optional. Constant OBJECT, ARRAY_A, or ARRAY_N
(string) $filter Optional. Default is raw or no WordPress defined filter will applied.


Return Type:

(object|array) Return type based on $output value.


Define At:

wp-includes/category.php


Wordpress Reference URL:

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


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