add `include` on API parameters to return a specific terms using a set the IDs #310
This commit is contained in:
parent
7a29ab427e
commit
207b1ac0ec
|
@ -92,7 +92,8 @@ class REST_Controller extends \WP_REST_Controller {
|
|||
'metatype' => 'meta_type',
|
||||
'hierarchical' => 'hierarchical',
|
||||
'exclude' => 'exclude',
|
||||
'excludetree' => 'exclude_tree'
|
||||
'excludetree' => 'exclude_tree',
|
||||
'include' => 'include'
|
||||
];
|
||||
|
||||
$meta_query = [
|
||||
|
|
Loading…
Reference in New Issue