Title: Return WordPress Objects
Last modified: August 24, 2016

---

# Return WordPress Objects

 *  Resolved [mukiri](https://wordpress.org/support/users/mukiri/)
 * (@mukiri)
 * [11 years ago](https://wordpress.org/support/topic/return-wordpress-objects/)
 * Hi,
 * Is there a function that will return a WP_Object, so that I can have access to
   other good stuff like $post_ID, $post_author etc?
 * rp4wp_children(); appears to return html.
 * Thanks
 * [https://wordpress.org/plugins/related-posts-for-wp/](https://wordpress.org/plugins/related-posts-for-wp/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * (@barrykooij)
 * [11 years ago](https://wordpress.org/support/topic/return-wordpress-objects/#post-6139477)
 * Hey,
 * You sure can! This snippet should help you get going: [https://gist.github.com/barrykooij/a556f85cda026306d417](https://gist.github.com/barrykooij/a556f85cda026306d417)
 * Please let me know if there’s anything else I can help you with.
 * Kind Regards,
 * Barry Kooij

Viewing 1 replies (of 1 total)

The topic ‘Return WordPress Objects’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-for-wp/assets/icon-256x256.png?rev=970117)
 * [Related Posts for WordPress](https://wordpress.org/plugins/related-posts-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-for-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/return-wordpress-objects/#post-6139477)
 * Status: resolved