Compare commits

..

2 Commits

Author SHA1 Message Date
3456b10a09 desactivating migration transient
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-11 10:10:52 +01:00
8ef81ac94f changing admin menu elements order 2024-12-11 10:09:56 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -157,8 +157,8 @@ function metiers_new_admin_menu_order($menu_order)
// define your new desired menu positions here // define your new desired menu positions here
// for example, move 'upload.php' to position #9 and built-in pages to position #1 // for example, move 'upload.php' to position #9 and built-in pages to position #1
$new_positions = array( $new_positions = array(
'edit.php?post_type=chantiers' => 3, 'edit.php?post_type=artisans' => 3,
'edit.php?post_type=artisans' => 4, 'edit.php?post_type=chantiers' => 4,
'edit.php?post_type=page' => 5, 'edit.php?post_type=page' => 5,
'upload.php' => 7, 'upload.php' => 7,
'theme-general-settings' => 11, 'theme-general-settings' => 11,

View File

@ -12,7 +12,7 @@ function unique_migration_persons()
populate_personns(); populate_personns();
} }
} }
add_action('init', 'unique_migration_persons'); // add_action('init', 'unique_migration_persons');
function build_ids_from_csv($csv_file) function build_ids_from_csv($csv_file)
{ {