do_action( 'manage_link_custom_column',
$column_name,
$item->link_id
);
} public function display_rows() { foreach ( $this->items
as $link ) { $link =
sanitize_bookmark( $link );
$link->link_name =
esc_attr( $link->link_name
);
$link->link_category =
wp_get_link_cats( $link->link_id
);
?>
<tr id="link-<?php
echo $link->link_id; ?>">
<?php
$this->
single_row_columns( $link ); ?>
</tr>
<?php
} } /**
* Generates and displays row action links.
*
* @since 4.3.0
* @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support.
*
* @param object $item Link being acted upon.
* @param string $column_name Current column name.
* @param string $primary Primary column name.
* @return string Row actions output for links, or an empty string
* if the current column is not the primary column.
*/