Mapping 'hierarchical' e 'exclude' for term endpoints

This commit is contained in:
weryques 2018-08-22 08:43:34 -03:00
parent 8c1768eaeb
commit 12d48c5b0b
1 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,9 @@ class REST_Controller extends \WP_REST_Controller {
'relation' => 'relation',
'nopaging' => 'nopaging',
'meta_key' => 'meta_key',
'meta_type' => 'meta_type'
'meta_type' => 'meta_type',
'hierarchical' => 'hierarchical',
'exclude' => 'exclude'
];
$meta_query = [