WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24672, comment 19


Ignore:
Timestamp:
03/27/2018 07:01:43 AM (21 months ago)
Author:
hawaiipersson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24672, comment 19

    initial v1  
    77Why would you want to extend \WP_Post?
    88
    9 I've got to different, real life, examples:
     9I've got two different, real life, examples:
    1010
    1111First we use Wordpress admin gui as a system for creating and maintaining content that is sent to a different app for storage and rendering. The object sent to the external app consists of both core WP_Post properties, as well as a lot of meta data associated with the post. If I could extend WP_Post I would be able to collect all data for the object in a neater way.