Filter hook 'network_edit_site_nav_links'

in WP Core File wp-admin/includes/ms.php at line 1064

Description

Filters the links that appear on site-editing network pages. Default links: 'site-info', 'site-users', 'site-themes', and 'site-settings'. 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. } }

Occurrences

Filename Line Number
wp-admin/includes/ms.php 1064

Parameters

Type Name Description
array $links { An array of link data representing individual network admin pages.

PHP Doc

/**
	 * Filters the links that appear on site-editing network pages.
	 *
	 * Default links: 'site-info', 'site-users', 'site-themes', and 'site-settings'.
	 *
	 * @since 4.6.0
	 *
	 * @param array $links {
	 *     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.
	 *     }
	 * }
	 */