Skip to content

Commit

Permalink
Merge pull request #1586 from INN/1582-show_in_rest
Browse files Browse the repository at this point in the history
Makes the series, post type, and post prominence taxonomies appear in the REST API
  • Loading branch information
benlk authored Dec 7, 2018
2 parents cbef8bd + 99409fd commit 4edb7c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function largo_custom_taxonomies() {
),
'query_var' => true,
'rewrite' => true,
'show_in_rest' => true,
)
);
}
Expand Down Expand Up @@ -147,6 +148,7 @@ function largo_custom_taxonomies() {
'show_admin_column' => $enabled,
'show_in_nav_menus' => $enabled,
'hierarchical' => true,
'show_in_rest' => true,
)
);
}
Expand Down Expand Up @@ -181,6 +183,7 @@ function largo_custom_taxonomies() {
'show_in_nav_menus' => $series_enabled,
'query_var' => true,
'rewrite' => true,
'show_in_rest' => true,
)
);
}
Expand Down

0 comments on commit 4edb7c0

Please sign in to comment.