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

WordPress Trac noreply at wordpress.org
Wed Aug 3 11:34:15 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 flixos90):

 A while back I opened #34875 which overlaps with this one quite a bit. In
 the description of that ticket I have another proposal of what using a
 custom post object could look like - looking at that code snippet now, it
 is not error-free, but I think it gives an idea of the approach (I'll
 probably create an updated version this or next week). I think being able
 to filter the name of the class and then create the instance based on that
 name would be an alternative solution to think about.

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


More information about the wp-trac mailing list