the_category_id


the_category_id ( $display = true )

Parameters:
  • (bool) display Optional. Whether to display the output. Default true.
See:
Returns:
  • (int) Category ID.
Defined at:

Description

Returns or prints a category ID.

Related Functions

the_category, the_category_head, the_category_rss, get_the_category_by_id, the_author_id

Top Google Results

User discussions

wpseek mobile