[wp-trac] [WordPress Trac] #22250: Useful helper function, add_action_with_args()

WordPress Trac noreply at wordpress.org
Mon Oct 22 18:52:10 UTC 2012


#22250: Useful helper function, add_action_with_args()
-------------------------+----------------------
 Reporter:  rzen         |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  close        |
-------------------------+----------------------

Comment (by rzen):

 Good point there, scribu. I've been leery to use anon functions because
 I'm not positive what version of PHP users are running. Then again, I'd be
 leery to use add_action_with_args() for the fact that users then need to
 determine "do I use remove_action or remove_action_with_args" (or whatever
 other solution it would have needed).

 Thanks for the feedback, everyone!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22250#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list