wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_list_table_show_post_checkbox › WordPress Filter Hooks

Since5.7.0
Deprecatedn/a
apply_filters( 'wp_list_table_show_post_checkbox', $show, $post )
Parameters: (2)
  • (bool) $show Whether to show the checkbox.
    Required: Yes
  • (WP_Post) $post The current WP_Post object.
    Required: Yes
Defined at:
Codex:

Filters whether to show the bulk edit checkbox for a post in its list table.

By default the checkbox is only shown if the current user can edit the post.





Source

if ( apply_filters( 'wp_list_table_show_post_checkbox', $show, $post ) ) :