Closed oraimbaud closed 6 years ago
The term ID is passed as the first parameter to the column callback function. So this should do the trick:
'col_1' => array(
'title' => '1',
'function' => function( $term_id ) {
echo $term_id;
},
),
Oh, thanks 🙈
Hi, I would like to know if there is a way to display the
$term_id
within anadmin_cols
function
. I would explain myself probably better with an example: