updating menu order
This commit is contained in:
parent
158f83be9b
commit
dcd1d69ac0
|
|
@ -311,14 +311,18 @@ function my_new_admin_menu_order($menu_order)
|
|||
// define your new desired menu positions here
|
||||
// for example, move 'upload.php' to position #9 and built-in pages to position #1
|
||||
$new_positions = array(
|
||||
'upload.php' => 9,
|
||||
// 'edit.php?post_type=page' => 1,
|
||||
'edit.php?post_type=conseils' => 1,
|
||||
'edit.php?post_type=questions' => 2,
|
||||
'edit.php?post_type=brochures' => 3,
|
||||
'edit.php?post_type=fiches-infos' => 4,
|
||||
'edit.php?post_type=vocabulaire' => 5,
|
||||
'edit.php?post_type=jobs' => 10,
|
||||
'edit.php' => 6,
|
||||
'edit.php?post_type=jobs' => 7,
|
||||
'edit.php?post_type=videos-webinaires' => 8,
|
||||
'edit.php?post_type=page' => 9,
|
||||
'theme-general-settings' => 10,
|
||||
'upload.php' => 11,
|
||||
'gf_edit_forms' => 12,
|
||||
);
|
||||
// helper function to move an element inside an array
|
||||
function move_element(&$array, $a, $b)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user