Changeset 26893
- Timestamp:
- 01/02/2014 02:45:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu-header.php
r26671 r26893 20 20 21 21 global $menu, $submenu, $parent_file; //For when admin-header is included from within a function. 22 $parent_file = apply_filters("parent_file", $parent_file); // For plugins to move submenu tabs around. 22 23 /** 24 * Filter the parent file of an admin menu sub-menu item. 25 * 26 * Allows plugins to move sub-menu items around. 27 * 28 * @since MU 29 * 30 * @param string $parent_file The parent file. 31 */ 32 $parent_file = apply_filters( 'parent_file', $parent_file ); 23 33 24 34 get_admin_page_parent(); … … 196 206 197 207 _wp_menu_output( $menu, $submenu ); 208 /** 209 * Fires after the admin menu has been output. 210 * 211 * @since 2.5.0 212 */ 198 213 do_action( 'adminmenu' ); 199 214
Note: See TracChangeset
for help on using the changeset viewer.