src/class-extended-taxonomy-admin.php
public function col_term_meta( $meta_key, array $args, $term_id ) {

		$vals = get_term_meta( $term_id, $meta_key, false );
		$echo = [];
		sort( $vals );

		if ( isset( $args['date_format'] ) ) {

			if ( true === $args['date_format'] ) {
				$args['date_format'] = get_option( 'date_format' );
			}

			foreach ( $vals as $val ) {

				if ( is_numeric( $val ) ) {
					$echo[] = date( $args['date_format'], $val );
				} elseif ( ! empty( $val ) ) {
					$echo[] = mysql2date( $args['date_format'], $val );
				}
			}
		} else {

			foreach ( $vals as $val ) {

				if ( ! empty( $val ) || ( '0' === $val ) ) {
					$echo[] = $val;
				}
			}
		}

		if ( empty( $echo ) ) {
			echo '&#8212;';
		} else {
			echo esc_html( implode( ', ', $echo ) );
		}

	}
public function col_term_meta( $meta_key, array $args, $term_id ) {

		$vals = get_term_meta( $term_id, $meta_key, false );
		$echo = [];
		sort( $vals );

		if ( isset( $args['date_format'] ) ) {

			if ( true === $args['date_format'] ) {
				$args['date_format'] = get_option( 'date_format' );
			}

			foreach ( $vals as $val ) {

				if ( is_numeric( $val ) ) {
					$echo[] = date( $args['date_format'], $val );
				} elseif ( ! empty( $val ) ) {
					$echo[] = mysql2date( $args['date_format'], $val );
				}
			}
		} else {

			foreach ( $vals as $val ) {

				if ( ! empty( $val ) || ( '0' === $val ) ) {
					$echo[] = $val;
				}
			}
		}

		if ( empty( $echo ) ) {
			echo '&#8212;';
		} else {
			echo esc_html( implode( ', ', $echo ) );
		}

	}
public function col_term_meta ( $ meta_key , array $ args , $ term_id ) { $ vals = get_term_meta ( $ term_id , $ meta_key , false ) ; $ echo = [ ] ; sort ( $ vals ) ; if ( isset ( $ args [ 'date_format' ] ) ) { if ( true === $ args [ 'date_format' ] ) { $ args [ 'date_format' ] = get_option ( 'date_format' ) ; } foreach ( $ vals as $ val ) { if ( is_numeric ( $ val ) ) { $ echo [ ] = date ( $ args [ 'date_format' ] , $ val ) ; } elseif ( ! empty ( $ val ) ) { $ echo [ ] = mysql2date ( $ args [ 'date_format' ] , $ val ) ; } } } else { foreach ( $ vals as $ val ) { if ( ! empty ( $ val ) || ( '0' === $ val ) ) { $ echo [ ] = $ val ; } } } if ( empty ( $ echo ) ) { echo '&#8212;' ; } else { echo esc_html ( implode ( ', ' , $ echo ) ) ; } }
Output column data for a term meta field.

@param string $meta_key The term meta key
@param array  $args     Array of arguments for this field
@param int    $term_id  Term ID.
Output column data for a term meta field .