Hello,
I used the same code as viorelepuran above, but unfortunately, I get nothing in this line of code:
$instructor_id = $post_object->ID;
When I use var_dump($post_objects);
, everything seems to be OK, but when i watch $post_object
, I cannot see any keys like ID, post_title and so on.
Could you please tell me, where is the problem?
Thank you!