post_date_column_status
apply_filters( ‘post_date_column_status’, string $statu…
apply_filters( ‘post_date_column_status’, string $status, WP_Post $post, string $column_name, string $mode )
过滤钩子:过滤帖子的状态文本。
Filter Hook: Filters the status text of the post.
目录锚点:#参数#源码
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $status | (string) | 状态文本。 |
| $post | (WP_Post) | Post对象。 |
| $column_name | (string) | 列名。 |
| $mode | (string) | 列表显示模式(“摘录”或“列表”)。 |
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.8.0 | wp-admin/includes/class-wp-posts-list-table.php:1103 | 1 | 0 |
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。




还没有任何评论,赶紧来占个楼吧!