get_terms()
returns an array of WP_Term
objects. To get the description, with the usual filters applied, you can pass this object to term_description()
:
$terms = get_terms( array(
'taxonomy' => 'organizer',
'hide_empty' => false,
) );
if ( ! is_wp_error( $terms ) ) {
foreach ( $terms as $term ) {
echo term_description( $term );
}
}