瀏覽代碼

:poop: trying push deploy with different permissions

tags/0.9.0
j 5 年之前
父節點
當前提交
9c99713498
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      plugins/cia-post-types/cia-post-types.php

+ 4
- 1
plugins/cia-post-types/cia-post-types.php 查看文件

@@ -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');

Loading…
取消
儲存