WordPress.org

Make WordPress Core

Ticket #24531: 24531.3.diff

File 24531.3.diff, 605 bytes (added by kraftbj, 6 years ago)

inline docs. Sorry Drew :(

  • src/wp-admin/menu-header.php

     
    3636 */
    3737$parent_file = apply_filters( 'parent_file', $parent_file );
    3838
     39/**
     40 * Filter the file of an admin menu sub-menu item.
     41 *
     42 * @since 4.4.0
     43 *
     44 * @param string $submenu_file The submenu file.
     45 * @param string $parent_file  The submenu item's parent file.
     46 */
     47$submenu_file = apply_filters( 'submenu_file', $submenu_file, $parent_file );
     48
    3949get_admin_page_parent();
    4050
    4151/**