Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33045, comment 26


Ignore:
Timestamp:
06/06/2019 07:21:05 AM (5 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33045, comment 26

    initial v1  
    1212}}}
    1313
    14 Regarding the naming, I would assume beforehand that {{{get_post_parent()}}} would return the post parent object, just as {{{get_post()}}}.
     14Regarding the naming, I would assume beforehand that {{{get_post_parent()}}} would return a {{{WP_Post}}} object, just as {{{get_post()}}}.
    1515
    1616But beside from that, we already have this function in core: