[wp-trac] [WordPress Trac] #12955: Add get_post filter
WordPress Trac
noreply at wordpress.org
Mon Mar 26 01:36:35 UTC 2018
#12955: Add get_post filter
------------------------------------------------+--------------------------
Reporter: JohnLamansky | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version:
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Comment (by danieliser):
@Mte90 Awesome, I'm on WP slack if you need a full example. I can abstract
one away from Popup Makers code pretty easily.
Honestly if you think it has a change I may even take a stab at a patch
tonight for this one as it should be relatively simple, in fact looking
back over this ticket I believe I already proposed a couple changes that
would be super minimal with little to no need for backward compatibility
tests etc.
This one included example code links and an example of what I think would
be a sufficient filter for the pure context of changing the object class
returned.
https://core.trac.wordpress.org/ticket/12955#comment:52
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12955#comment:66>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list