get_cat_id


get_cat_id ( $cat_name )

Parameters:
  • (string) $cat_name Category name.
Returns:
  • (int) 0, if failure and ID of category on success.
Defined at:

Description

Retrieve the ID of a category from its name.

Related Functions

get_the_id, get_comment_id, get_cat_name, get_the_guid, get_comment_guid

Top Google Results

User discussions

wpseek mobile