network_edit_site_nav_links

network_edit_site_nav_links

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('network_edit_site_nav_links') is found 1 times:

  • /wp-admin/includes/ms.php line 918
    	 *         $type string $cap   Capability required to see the link.
    	 *     }
    	 * }
    	 */
    	$links = apply_filters( 'network_edit_site_nav_links', array(
    		'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php',     'cap' => 'manage_sites' ),
    		'site-users'    => array( 'label' => __( 'Users' ),    'url' => 'site-users.php',    'cap' => 'manage_sites' ),
    		'site-themes'   => array( 'label' => __( 'Themes' ),   'url' => 'site-themes.php',   'cap' => 'manage_sites' ),
    		'site-settings' => array( 'label' => __( 'Settings' ), 'url' => 'site-settings.php', 'cap' => 'manage_sites' )
    	) );