Filters the links that appear on site-editing network pages.
Description
Default links: 'site-info', 'site-users', 'site-themes', and 'site-settings'.
Parameters
$linksarray
{ An array of link data representing individual network admin pages. @type array $link_slug { An array of information about the individual link to a page. $type string $label Label to use for the link. $type string $url URL, relative to network_admin_url() to use for the link. $type string $cap Capability required to see the link. } }
$link_slugarray
An array of information about the individual link to a page. $type string $label Label to use for the link. $type string $url URL, relative to network_admin_url() to use for the link. $type string $cap Capability required to see the link.
1102*$typestring$label Label to usefor the link.1103*$typestring$urlURL, relative to `network_admin_url()` to usefor the link.1104*$typestring$cap Capability required to see the link.1105*}1106*}1107*/1108$links=apply_filters(1109'network_edit_site_nav_links',1110array(1111'site-info'=>array(1112'label'=>__('Info'),1113'url'=>'site-info.php',1114'cap'=>'manage_sites',
History
Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.