[wp-trac] [WordPress Trac] #52732: 'get_posts' has been waiting for so long to have a hook

WordPress Trac noreply at wordpress.org
Sun Mar 7 20:49:37 UTC 2021


#52732: 'get_posts' has been waiting for so long to have a hook
--------------------------+-----------------------------
 Reporter:  ttodua        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I reckon `get_posts` is the most (frequently) used function across many
 plugins or scripts. I know there are internal `WP_Query` hooks available,
 but that makes things harder to get into.
 I think having hook on `get_posts` will be very useful and easy for people
 / developers to remind & amend things easier.
 patch attached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52732>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list