mu_menu_items

mu_menu_items

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('mu_menu_items') is found 1 times:

  • /wp-admin/network/settings.php line 507
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    * @since MU (3.0.0)
     *
     * @param string[] $admin_menus Associative array of the menu items available.
     */
    $menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) );
     
    if ( $menu_items ) :
        ?>
        <h2><?php _e( 'Menu Settings' ); ?></h2>
        <table id="menu" class="form-table">
            <tr>

See this hook used in plugins: