From 99409fd494250d939938859b72d3963623d0d122 Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Fri, 7 Dec 2018 00:29:20 -0500 Subject: [PATCH] Makes the series, post type, and post prominence taxonomies appear in the REST API --- inc/taxonomies.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/taxonomies.php b/inc/taxonomies.php index dae77e922..8d0c4fc3c 100644 --- a/inc/taxonomies.php +++ b/inc/taxonomies.php @@ -61,6 +61,7 @@ function largo_custom_taxonomies() { ), 'query_var' => true, 'rewrite' => true, + 'show_in_rest' => true, ) ); } @@ -147,6 +148,7 @@ function largo_custom_taxonomies() { 'show_admin_column' => $enabled, 'show_in_nav_menus' => $enabled, 'hierarchical' => true, + 'show_in_rest' => true, ) ); } @@ -181,6 +183,7 @@ function largo_custom_taxonomies() { 'show_in_nav_menus' => $series_enabled, 'query_var' => true, 'rewrite' => true, + 'show_in_rest' => true, ) ); }