Procházet zdrojové kódy

:poop: trying push deploy with different permissions

tags/0.9.0
j před 5 roky
rodič
revize
9c99713498
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4
    1
      plugins/cia-post-types/cia-post-types.php

+ 4
- 1
plugins/cia-post-types/cia-post-types.php Zobrazit soubor

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

Načítá se…
Zrušit
Uložit