WordPress at Your Fingertips
function is not described

WP_MS_Themes_List_Table::column_cb() public WP 4.3.0

Handles the checkbox column output.

{} It's a method of the class: WP_MS_Themes_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_MS_Themes_List_Table = new WP_MS_Themes_List_Table();
$WP_MS_Themes_List_Table->column_cb( $theme );
$theme(WP_Theme) (required)
The current WP_Theme object.

Changelog

Since 4.3.0 Introduced.

Code of WP_MS_Themes_List_Table::column_cb() WP 5.8.2

<?php
public function column_cb( $theme ) {
	$checkbox_id = 'checkbox_' . md5( $theme->get( 'Name' ) );
	?>
	<input type="checkbox" name="checked[]" value="<?php echo esc_attr( $theme->get_stylesheet() ); ?>" id="<?php echo $checkbox_id; ?>" />
	<label class="screen-reader-text" for="<?php echo $checkbox_id; ?>" ><?php _e( 'Select' ); ?>  <?php echo $theme->display( 'Name' ); ?></label>
	<?php
}