this passes the attributes for the function "get_terms()"
Convenient for sorting, excluding taxonomy terms
For example, you want to sort terms by count
add_filter('avalon23_taxonomy_arg', function( $args ) { if( $args['taxonomy'] == 'pa_size') { $args['orderby'] = 'count'; $args['order'] = 'DESC'; } return $args; }, 99);