WP_Links_List_Table::column_cb() – Handles the checkbox column output.
You appear to be a bot. Output may be restricted
Description
Handles the checkbox column output.
Usage
WP_Links_List_Table::column_cb( $item );
Parameters
- $item
- ( object ) required – The current link object.
Returns
void
Source
File name: wordpress/wp-admin/includes/class-wp-links-list-table.php
Lines:
1 to 14 of 14
public function column_cb( $item ) { // Restores the more descriptive, specific name for use within this method. $link = $item; ?> <label class="screen-reader-text" for="cb-select-<?php echo $link->link_id; ?>"> <?php /* translators: Hidden accessibility text. %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 }