Having trouble getting Gravity Forms to play nice with custom_menu_order in WordPress 3.5. Here's the code I'm using:
// Change Menu Order
function custom_menu_order($menu_ord) {
	if (!$menu_ord) return true;
	return array(
		'index.php', // Dashboard
		'separator1', // First separator
		'edit.php?post_type=attorney', // Attorneys
		'edit.php?post_type=page', // Pages
		'admin.php?page=gf_edit_forms', // Gravity Forms
		'upload.php', // Media
		'edit.php', // Posts
		'edit-comments.php', // Comments
		'separator2', // Second separator
		'themes.php', // Appearance
		'plugins.php', // Plugins
		'users.php', // Users
		'tools.php', // Tools
		'options-general.php', // Settings
		'separator-last', // Last separator
	);
}
add_filter('custom_menu_order', 'custom_menu_order'); // Activate custom_menu_order
add_filter('menu_order', 'custom_menu_order');Gravity Forms is showing up below Settings after the last separator. I just grabbed the URL of admin.php?page=gf_edit_forms, but I'm guessing that's what's not right since it's not loading it. Any thoughts?
Thanks,
Matt
 
				