How to retrieve WP_Object that is inside an array of another array
You are trying to access an object inside an array. To retrieve the data from term_id, you can use: $value[0][‘tax’][0]->term_id Notice that the first 3 steps are arrays, and then there is a WP_Object, which has an array inside. Breaking Down the Code $value – returns the entire array $value[0] – returns the first element … Read more