disable_months_dropdown
apply_filters( ‘disable_months_dropdown’, bool $disable , string $post_type )
过滤器::筛选是否从post列表表中删除“月”下拉列表。
Filter Hook: Filters whether to remove the ‘Months’ drop-down from the post list table.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$disable | (bool) | 是否禁用下拉列表。默认为false。 |
$post_type | (string) | 职位类型。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.2.0 | wp-admin/includes/class-wp-list-table.php:554 | 1 | 0 |
disable_months_dropdown 为WP2原创文章,链接:https://www.wp2.cn/hook/disable_months_dropdown/