WordPress.org

Make WordPress Core

Ticket #13858: filter-wp_get_nav_menu_items.13858.diff

File filter-wp_get_nav_menu_items.13858.diff, 322 bytes (added by filosofo, 5 years ago)
  • wp-includes/nav-menu.php

     
    505505                } 
    506506        } 
    507507 
    508         return $items; 
     508        return apply_filters( 'wp_get_nav_menu_items',  $items, $menu, $args ); 
    509509} 
    510510 
    511511/**