wpseek.com
WordPress开发者和主题制作者的搜索引擎



display_post_states › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'display_post_states', $post_states, $post )
参数: (2)
  • (string[]) $post_states An array of post display states.
    Required: Yes
  • (WP_Post) $post The current post object.
    Required: Yes
定义在:
文档:

Filters the default post display states used in the posts list table.





源码

return apply_filters( 'display_post_states', $post_states, $post );