Function to grab first job ID by Order ID
Is there a function to grab the ID of the items associated with an order by the order ID?
ie: $the_job_listings = the_function('12345')
that would return an array of job listings for order #12345
-----------------
I'm trying to pass a custom job taxonomy to paypal. It doesn't appear that the get_id() function can be used on the $order object that is being used to generate the paypal form. I can see the item information when I dump the whole $object but $object->get_id()