get_category_by_slug Wordpress function


Description:

Retrieve category object by category slug.


Syntax:


Arguments:

(string) $slug The category slug.


Return Type:

(object) Category data object


Define At:

wp-includes/category.php


Wordpress Reference URL:

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


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