您可以使用menu_order
过滤器挂钩更改顺序
function custom_menu_order($menu_ord) {
if (!$menu_ord) return true;
return array(\'settings_page.php\', \'edit.php?post_type=CTP1\',\'edit.php?post_type=CTP2\',\'edit.php?post_type=CTP3\');
}
add_filter(\'custom_menu_order\', \'custom_menu_order\');
add_filter(\'menu_order\', \'custom_menu_order\');