WPDev.one
Core Function
View Source on Trac ↗

single_tag_title()

single_tag_title( mixed $prefix = '', mixed $display = true )

Displays or retrieves page title for tag post 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
2.3.0
Source File
wp-includes/general-template.php
Advertisement