Hey James,
Thanks for your fast reply! Really appreciate it.
I was able to pass the post_id, but that just gives me one result.
I would like to fetch the values of all post_id’s from my custom field and put them into an array. Normally you do that with a for each, but loops don’t seem to work within the functions.php.
Best,
Jordy