post_type_archive_title( string $prefix = '', bool $display = true )

Display or retrieve title for a post type archive.

19 related functions found for: post_type_archive_title

Top ↑

Related terms found for this post

wp-parser-related-wordsarchiv, archive, general-template-php, post, post-typ, post-type, titl, title, type, wp-includes
wp-parser-packageTemplate, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • archiv
  • archive
  • general-template-php
  • post
  • post-typ
  • post-type
  • Template
  • titl
  • title
  • type
  • wp-includes
  • wp-includes/general-template.php
  • template

Top ↑

Description Description

This is optimized for archive.php and archive-{$post_type}.php template files for displaying the title of the post type.

Top ↑

Parameters Parameters


(string) (Optional) What to display before the title.

Default value: ''


(bool) (Optional) Whether to display or retrieve title.

Default value: true

Top ↑

Return Return

(string|void) Title when retrieving, null when displaying or failure.

Top ↑

Source Source

File: wp-includes/general-template.php


Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.