get_cat_id Wordpress function


Description:

Retrieve the ID of a category from its name.


Syntax:


Arguments:

(string) $cat_name Category name.


Return Type:

(int) 0, if failure and ID of category on success.


Define At:

wp-includes/category.php


Wordpress Reference URL:

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


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