Sfoglia il codice sorgente

:poop: trying push deploy with different permissions

tags/0.9.0
j 5 anni fa
parent
commit
9c99713498
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4
    1
      plugins/cia-post-types/cia-post-types.php

+ 4
- 1
plugins/cia-post-types/cia-post-types.php Vedi File

152
     ) );
152
     ) );
153
 }
153
 }
154
 
154
 
155
+/**
156
+ * Create taxonomies
157
+ */
158
+add_action('init', 'create_materials_taxonomy'); 
155
 function create_materials_taxonomy() {
159
 function create_materials_taxonomy() {
156
     $post_types_that_show_materials = [ 'artist' ];
160
     $post_types_that_show_materials = [ 'artist' ];
157
     register_taxonomy("material", $post_types_that_show_materials, [ "label" => "Materials"]);
161
     register_taxonomy("material", $post_types_that_show_materials, [ "label" => "Materials"]);
158
 }
162
 }
159
-add_action('init', 'create_materials_taxonomy');

Loading…
Annulla
Salva