WordPress at a glance
function is not described

WP_Media_List_Table::column_cb() WP 4.3.0

Handles the checkbox column output.

This is a method of the class: WP_Media_List_Table

No Hooks.

Return

Null. Nothing.

Usage

$WP_Media_List_Table = new WP_Media_List_Table();
$var = $WP_Media_List_Table->column_cb( $post );
$post(WP_Post) (required)
The current WP_Post object.

Changelog

Since 4.3.0 Introduced.

Code of WP Media List Table::column cb: wp-admin/includes/class-wp-media-list-table.php WP 5.2.2

<?php
public function column_cb( $post ) {
	if ( current_user_can( 'edit_post', $post->ID ) ) {
		?>
		<label class="screen-reader-text" for="cb-select-<?php echo $post->ID; ?>">
																	<?php
																	echo sprintf( __( 'Select %s' ), _draft_or_post_title() );
																	?>
		</label>
		<input type="checkbox" name="media[]" id="cb-select-<?php echo $post->ID; ?>" value="<?php echo $post->ID; ?>" />
		<?php
	}
}