Terms Block
Term list block. Displays a list of all terms in the selected taxonomy. You can change the display by placing a template file in your theme. template-parts/blocks/terms-block/ block-name – block-style .php template-parts/blocks/terms-block/ block-name .php Filter for get_terms . add_filter( 'terms_b
About this tool.
Term list block. Displays a list of all terms in the selected taxonomy.
You can change the display by placing a template file in your theme.
- 01template-parts/blocks/terms-block/ block-name – block-style .php
- 02template-parts/blocks/terms-block/ block-name .php
Filter for get_terms .
add_filter( 'terms_block_get_terms_arguments', 'my_filter', 10, 3 ); function my_filter( $args, $taxonomy, $attributes ) { $args = array_merge( $args, array( 'orderby' => 'order' ) ); return $args; }