[wp-trac] [WordPress Trac] #12955: Add get_post filter

WordPress Trac noreply at wordpress.org
Sat Aug 20 21:42:46 UTC 2016


#12955: Add get_post filter
------------------------------------+-----------------------------
 Reporter:  JohnLamansky            |       Owner:
     Type:  feature request         |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Posts, Post Types       |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by danieliser):

 Just to add, I built this simple lib class a while back for automating
 association of an extra table to a post object. The only issue is that
 currently it requires filtering the_posts heavily to merge extra data.

 Being able to instead generate the post object from a custom class/object
 would be much simpler.

 https://github.com/danieliser/WP-Post-Partner-Tables/

 Also would love some feedback on the lib above. Anybody think its worth
 while to turn it into core function or feature plugin as it greatly
 extends the post capabilities.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12955#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list