public static function getTermMeta($term_id, $option, $default = '')
    {
        if (function_exists('get_term_meta')) {
            // WP 4.4
            $value = get_term_meta($term_id, $option, true);
        } else {
            // Default
            $value = self::get($option, $default);
        }

        return $value;
    }
public static function getTermMeta($term_id, $option, $default = '')
    {
        if (function_exists('get_term_meta')) {
            // WP 4.4
            $value = get_term_meta($term_id, $option, true);
        } else {
            // Default
            $value = self::get($option, $default);
        }

        return $value;
    }
public static function getTermMeta ( $ term_id , $ option , $ default = '' ) { if ( function_exists ( 'get_term_meta' ) ) { // WP 4.4 $ value = get_term_meta ( $ term_id , $ option , true ) ; } else { // Default $ value = self :: get ( $ option , $ default ) ; } return $ value ; }
Get a value from term options

@param string    $term_id
@param string    $option
@param mixed     $default
@return mixed    $value
Get a value from term options