Site icon Hip-Hop Website Design and Development

add class to term_description

making an attempt to filter the output of term_description to incorporate a category https://codex.wordpress.org/Function_Reference/term_description

operate add_class_to_term_description() { ?>

<?php  echo '<div class="cell">' . term_description() . '</div>'; ?>

<?php  }
add_filter( 'term_description', 'add_class_to_term_description' ); ?>

im getting and empty cell class returned a whole bunch of occasions which is exhausting the reminiscence. what am i doing mistaken?