-
-
Save peterwilsoncc/c3b86135c5cc1db49f227408eb4c1f5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 4-6-1.txt | |
+++ (clipboard) | |
@@ -1,6 +1,7 @@ | |
-array(20) { | |
+ | |
+array(22) { | |
["labels"]=> | |
- object(stdClass)#128 (21) { | |
+ object(stdClass)#366 (21) { | |
["name"]=> | |
string(10) "Categories" | |
["singular_name"]=> | |
@@ -69,24 +70,28 @@ | |
["rewrite"]=> | |
bool(false) | |
["query_var"]=> | |
- bool(false) | |
+ string(13) "category_name" | |
["update_count_callback"]=> | |
string(0) "" | |
["_builtin"]=> | |
bool(true) | |
+ ["show_in_rest"]=> | |
+ bool(true) | |
+ ["rest_base"]=> | |
+ string(10) "categories" | |
+ ["rest_controller_class"]=> | |
+ string(24) "WP_REST_Terms_Controller" | |
["cap"]=> | |
- object(stdClass)#122 (4) { | |
+ object(stdClass)#361 (4) { | |
["manage_terms"]=> | |
string(17) "manage_categories" | |
["edit_terms"]=> | |
- string(17) "manage_categories" | |
+ string(15) "edit_categories" | |
["delete_terms"]=> | |
- string(17) "manage_categories" | |
+ string(17) "delete_categories" | |
["assign_terms"]=> | |
- string(10) "edit_posts" | |
+ string(17) "assign_categories" | |
} | |
- ["name"]=> | |
- string(8) "category" | |
["object_type"]=> | |
array(1) { | |
[0]=> | |
@@ -94,4 +99,4 @@ | |
} | |
["label"]=> | |
string(10) "Categories" | |
-} | |
\ No newline at end of file | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment