Changes between Version 1 and Version 2 of Ticket #12955, comment 66
- Timestamp:
- 03/26/2018 01:41:16 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12955, comment 66
v1 v2 7 7 8 8 https://core.trac.wordpress.org/ticket/12955#comment:52 9 10 That said that implementation is a bit crude for my tastes as it still requires 3 lines: 11 12 add_filter 13 get_posts 14 remove_filter 15 16 I'm wondering if a new function get_objects/get_post_objects where it accepts an additional parameter for the object to be used, or simply a new $arg for get_posts in general to use the right return model.