the_category_id
- the_category_id is deprecated since version 0.71.0!
Alternative: get_the_category()
the_category_id ( $display = true )
Parameters:- (bool) display Optional. Whether to display the output. Default true.
See:Returns:Defined at: - Introduced in WordPress: 0.71
- Deprecated in WordPress: 0.71.0
Description
Returns or prints a category ID.