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.
1060*$typestring$label Label to usefor the link.1061*$typestring$urlURL, relative to `network_admin_url()` to usefor the link.1062*$typestring$cap Capability required to see the link.1063*}1064*}1065*/1066$links=apply_filters(1067'network_edit_site_nav_links',1068array(1069'site-info'=>array(1070'label'=>__('Info'),1071'url'=>'site-info.php',1072'cap'=>'manage_sites',
History
Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.