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 Conditional Tags} article in the Theme Developer Handbook.Related Functions: post_exists, post_type_supports, term_exists, get_post_types, get_post_type_object