WordPress at Your Fingertips
function is not described

WP_Links_List_Table::column_cb() public WP 4.3.0

Handles the checkbox column output.

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

No Hooks.

Return

null. Nothing.

Usage

$WP_Links_List_Table = new WP_Links_List_Table();
$WP_Links_List_Table->column_cb( $link );
$link(object) (required)
The current link object.

Changelog

Since 4.3.0 Introduced.

Code of WP_Links_List_Table::column_cb() WP 5.8.2

<?php
public function column_cb( $link ) {
	?>
	<label class="screen-reader-text" for="cb-select-<?php echo $link->link_id; ?>">
		<?php
		/* translators: %s: Link name. */
		printf( __( 'Select %s' ), $link->link_name );
		?>
	</label>
	<input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
	<?php
}