WordPress at Your Fingertips
filter is not described

wp_list_table_show_post_checkbox filter-hook . WP 5.7.0

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.

Usage

add_filter( 'wp_list_table_show_post_checkbox', 'filter_function_name_7452', 10, 2 );
function filter_function_name_7452( $show, $post ){
	// filter...

	return $show;
}
$show(true|false)
Whether to show the checkbox.
$post(WP_Post)
The current WP_Post object.

Changelog

Since 5.7.0 Introduced.

Where the hook is called

WP_Posts_List_Table::column_cb()
wp_list_table_show_post_checkbox
wp-admin/includes/class-wp-posts-list-table.php 941
if ( apply_filters( 'wp_list_table_show_post_checkbox', $show, $post ) ) :

Where in WP core the hook is used WordPress

Usage not found.