get_all_post_type_supports()
最后更新于:2021-11-26 04:13:24
get_all_post_type_supports( string$post_type)Get all the post type features
参数
- $post_type
-
(string) (Required) The post type.
响应
(array) Post type supports list.
源文件
文件: gc-includes/post.php
function get_all_post_type_supports( $post_type ) {
global $_gc_post_type_features;
if ( isset( $_gc_post_type_features[ $post_type ] ) ) {
return $_gc_post_type_features[ $post_type ];
}
return array();
}