Title: function get_post_parent( $post );
Last modified: August 20, 2016

---

# function get_post_parent( $post );

 *  [jonbyrd](https://wordpress.org/support/users/jonbyrd/)
 * (@jonbyrd)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/function-get_post_parent-post/)
 * Hey guys, thought that this might be helpful. A user just asked me to create 
   this function so I’m sharing it with ya’ll.
 * [https://gist.github.com/1140481](https://gist.github.com/1140481)

The topic ‘function get_post_parent( $post );’ is closed to new replies.

## Tags

 * [post parent](https://wordpress.org/support/topic-tag/post-parent/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [jonbyrd](https://wordpress.org/support/users/jonbyrd/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/function-get_post_parent-post/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
