is_post_type_archive


is_post_type_archive ( $post_types = '' )

Parameters:
  • (string|array) $post_types Optional. Post type or array of posts types to check against.
Returns:
  • (bool)
Defined at:

Description

Is the query for an existing post type archive page?

Related Functions

is_post_type_hierarchical, post_type_archive_title, get_post_type_archive_link, is_post_type_viewable, get_post_type_archive_template

Top Google Results

User discussions

wpseek mobile