Terms Query
Terms Query renders WP_Term results inside a GenerateBlocks query loop. Runtime arguments pass through get_terms().
Controls
Section titled “Controls”| Control | Maps to |
|---|---|
| Taxonomy | taxonomy |
| Number of terms | number |
| Order by | orderby |
| Order | order (ASC / DESC) |
| Hide empty terms | hide_empty |
| Parent term | parent |
Modify arguments
Section titled “Modify arguments”add_filter( 'gbqe_terms_query_args', function ( $args, $query, $attributes, $block ) { $args['exclude'] = array( 123 );
return $args;}, 10, 4 );See Filters for the full list.