gdr2_post_has_parent

gdr2_post_has_parent($post_id)

  • $post_id: post ID to check

Check if post has parent post.

Returns: true if has parent, false if it has no parent

Comments

Leave a Reply