is_post_type_archive( string|array $post_types = '' )

Is the query for an existing post type archive page?


25 related functions found for: is_post_type_archive

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsarchiv, archive, exist, is, post, post-typ, post-type, query-php, type, wp-includes
wp-parser-packageQuery, WordPress
wp-parser-source-filewp-includes/query.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • archiv
  • archive
  • exist
  • is
  • post
  • post-typ
  • post-type
  • Query
  • query-php
  • type
  • wp-includes
  • wp-includes/query.php
  • query

Top ↑

Description Description


Top ↑

Parameters Parameters

$post_types

(string|array) (Optional) Post type or array of posts types to check against.

Default value: ''


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: wp-includes/query.php


			

Top ↑

Changelog 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.