WordPress built-in method to extract array of term IDs?
I know you’ve long since solved this, but wanted to offer another solution. This question popped up as “related” when I was answering another one. You can use the WordPress function wp_list_pluck to return an array with values as one of the fields of the array or objects sent to the function. In other words, … Read more