Current Releases WordPress 5.7 Beta 2…

Current Releases

WordPress 5.7 Beta 2 is now available for testing. ๐Ÿงช The current target for the final 5.7 release is still March 9, 2021. ๐Ÿ“…

There are two new Post Parent related functions in WordPress 5.7:

  • get_parent_post() is a template tag that accepts a Post ID or a WP_Post object and retrieves the parent WP_Post object for the given post.
  • has_parent_post() is a conditional tag that accepts a Post ID or a WP_Post object and returns true if the post has a parent, false if there’s no parent.