post_type_archive_title
post_type_archive_title ( $prefix = '', $display = true )
Parameters:- (string) prefix Optional. What to display before the title.
- (bool) display Optional. Whether to display or retrieve title. Default true.
Returns:- (string|void) Title when retrieving, null when displaying or failure.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Displays or retrieves title for a post type archive.This is optimized for archive.php and archive-{$post_type}.php template files
for displaying the title of the post type.