wpseek.com
WordPress开发者和主题制作者的搜索引擎
post_type_exists › WordPress Function
Since3.0.0
已弃用n/a
› post_type_exists ( $post_type )
| 参数: |
|
| 查看: | |
| 返回: |
|
| 定义在: |
|
| 文档: |
Determines whether a post type is registered.
For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/} article in the Theme Developer Handbook.Related Functions: post_exists, post_type_supports, get_post_type_labels, get_post_type_object, get_post_types