Definition:
function single_tag_title( $prefix = '', $display = true ) {}
Display or retrieve page title for tag post archive.
Useful for tag template files for displaying the tag page title. It has less overhead than wp_title(), because of its limited implementation.
Parameters
- string $prefix: Optional. What to display before the title.
- bool $display: Optional, default is true. Whether to display or retrieve title.
Return values
returns:Title when retrieving, null when displaying or failure.
Source code
function single_tag_title( $prefix = '', $display = true ) { return single_term_title( $prefix, $display ); }
2893
No comments yet... Be the first to leave a reply!