Position in admin menu
-
Hi!
I know I can use the snippet below to order the menu items on the wordpress dashboard. But how do I insert the Foobox menu? Using the line
'admin.php?page=foobox-image-lightbox'
doesn’t work.function wpse_custom_menu_order( $menu_ord ) { if ( !$menu_ord ) return true; return array( 'index.php', 'edit.php', 'edit.php?post_type=page', 'upload.php', 'tools.php', 'plugins.php', 'themes.php', 'users.php', 'edit.php?post_type=foogallery' // FooGallery ); } add_filter( 'custom_menu_order', 'wpse_custom_menu_order', 10, 1 ); add_filter( 'menu_order', 'wpse_custom_menu_order', 10, 1 );
Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Position in admin menu’ is closed to new replies.