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