Commit e0ab5864 authored by Cyrille37's avatar Cyrille37

remove default projects categories

parent 8a68638c
......@@ -68,7 +68,7 @@ class ProjectCustomTypeCreator
register_taxonomy( 'category_projects', 'project', array(
'labels' => [
'name' => 'Catégories du projet',
'name' => 'Catégories des projets',
'singular_name' => 'Catégorie du projet',
'all_items' => 'Toutes',
'edit_item' => 'Éditer la catégorie',
......@@ -103,12 +103,14 @@ class ProjectCustomTypeCreator
["taxonomy" => "status", "name" => "Validé", "description" => "Mise en œuvre du projet", "slug" => "valide" ],
["taxonomy" => "status", "name" => "Annulé", "description" => "Projet annulé", "slug" => "annule" ],
["taxonomy" => "status", "name" => "Refusé", "description" => "Projet refusé", "slug" => "refuse" ],
/*
["taxonomy" => "category_projects", "name" => "Sport", "description" => "Sport", "slug" => "sport" ],
["taxonomy" => "category_projects", "name" => "Musique", "description" => "Musique", "slug" => "musique" ],
["taxonomy" => "category_projects", "name" => "Nourriture", "description" => "Nourriture", "slug" => "nourriture" ],
["taxonomy" => "category_projects", "name" => "Santé", "description" => "Santé", "slug" => "sante" ],
["taxonomy" => "category_projects", "name" => "Loisir", "description" => "Loisir", "slug" => "loisir" ],
["taxonomy" => "category_projects", "name" => "Divers", "description" => "Divers", "slug" => "divers" ],
*/
];
foreach( $terms as $term )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment