Core Function
View Source on Trac ↗ single_cat_title()
single_cat_title( mixed $prefix = '', mixed $display = true ) Displays or retrieves page title for category archive.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $prefix string | Optional. What to display before the title. |
| $display bool | Optional. Whether to display or retrieve title. Default true. |
Return Value
((string)
| void) Title when retrieving.
Function Information
Since Version
0.71
Source File
wp-includes/general-template.php
Advertisement