sfw_get_term_meta

Description

Same as get_term_meta, but accepts WP_Term as first parameter

Since: 1.0.0

For further information see: get_term_meta

Code

<?php function sfw_get_term_meta( $term_id, $key = '', $single = false ){ 
	 … 
 } ?>

Parameter

$term_id
(int|WP_Term) term id or WP_Term
$key
(string)

Default: ''

$single
(boolean)

Default: false

Return

(mixed) the terms meta

File

core/includes/functions-wp-helpers.php