浏览代码

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

正在加载...
取消
保存