post_type_exists( string $post_type )

Check if a post type is registered.


25 related functions found for: post_type_exists

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsexist, exists, post, post-php, post-typ, post-type, type, wp-includes
wp-parser-packagePost, WordPress
wp-parser-source-filewp-includes/post.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • exist
  • exists
  • post
  • Post
  • post-php
  • post-typ
  • post-type
  • type
  • wp-includes
  • wp-includes/post.php

Top ↑

Description Description


Top ↑

Parameters Parameters

$post_type

(string) (Required) Post type name.


Top ↑

Return Return

(bool) Whether post type is registered.


Top ↑

Source Source

File: wp-includes/post.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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