W3cubDocs

/WordPress

WP_Links_List_Table::column_visible( object $link )

Handles the link visibility column output.

Parameters

$link

(object) (Required) The current link object.

Source

File: wp-admin/includes/class-wp-links-list-table.php

public function column_visible( $link ) {
		if ( 'Y' === $link->link_visible ) {
			_e( 'Yes' );
		} else {
			_e( 'No' );
		}
	}

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_links_list_table/column_visible