wpseek.com
WordPress开发者和主题制作者的搜索引擎
get_post_field › WordPress Function
Since2.3.0
已弃用n/a
› get_post_field ( $field, $post = null, $context = 'display' )
参数: (3) |
|
查看: | |
返回: |
|
定义在: |
|
文档: | |
Change Log: |
|
Retrieves data from a post field based on Post ID.
Examples of the post field will be, 'post_type', 'post_status', 'post_content', etc and based off of the post object property or key names. The context values are based off of the taxonomy filter functions and supported values are found within those functions.