get_category Wordpress function


Description:

Retrieves category data given a category ID or category object.


Syntax:


Arguments:

(int|object) $category Category ID or Category row object
(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:

(mixed) Category data in type defined by $output parameter.


Define At:

wp-includes/category.php


Wordpress Reference URL:

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


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