I have a function that outputs an array with 2 objects(?):
Array ( [de] => 166 [it] => 167 )
Where [xx] is de language code and the number is the pageID.
I'm having a meltdown in my brain as I cannot figure out anymore how to use the pageID's in a foreach loop.
EDIT: See here as the reference of what I'm doing.
The filter outputs the above and I only need to two numbers (which are page-ids), but I cannot figure out how to get them out.
Can someone lend me a helping hand to show me how to do this again. I know it should be something relatively simple, but I'm drawing blanks :(
Thanks in advance!