apply_filters( ‘wp_list_table_show_post_checkbox’, bool $show, WP_Post $post )

In this article

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

Description

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

Parameters

$showbool
Whether to show the checkbox.
$postWP_Post
The current WP_Post object.

Source

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

Changelog

VersionDescription
5.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.