WP_Links_List_Table::column_url( object $link )
Handles the link URL column output.
Parameters
- $link
-
(object) (Required) The current link object.
Source
File: wp-admin/includes/class-wp-links-list-table.php
public function column_url( $link ) { $short_url = url_shorten( $link->link_url ); echo "<a href='$link->link_url'>$short_url</a>"; }
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_links_list_table/column_url