68
68
* @param int|object $category Category ID or Category row object
69
69
* @param string $output Optional. Constant OBJECT, ARRAY_A, or ARRAY_N
70
70
* @param string $filter Optional. Default is raw or no WordPress defined filter will applied.
73
74
function get_category( $category, $output = OBJECT, $filter = 'raw' ) {
74
75
$category = get_term( $category, 'category', $output, $filter );