array (size=1)
29 =>
object(stdClass)[300]
public 'term_id' => string '29' (length=2)
public 'name' => string 'Advertisement' (length=13)
public 'slug' => string 'advertisement' (length=13)
public 'term_group' => string '0' (length=1)
public 'term_taxonomy_id' => string '32' (length=2)
public 'taxonomy' => string 'wp_portfolio_categories' (length=23)
public 'description' => string '' (length=0)
public 'parent' => string '27' (length=2)
public 'count' => string '3' (length=1)
public 'object_id' => string '536' (length=3)
我必须获得 term_id 值我可以这样做,$var[29]->term_id
但我不知道这个元素 29,是否有任何解决方案来获取term_id
ar29
编号