Term list block. Displays a list of all terms in the selected taxonomy.
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.
block-name
–block-style
.phpblock-name
.phpFilter 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; }
terms_block_get_terms_arguments
filter.