[wp-hackers] anonymous functions for do_action and apply_filters

Mike Schinkel mikeschinkel at newclarity.net
Mon Dec 20 20:58:06 UTC 2010


On Dec 20, 2010, at 3:49 PM, Nathaniel Taintor wrote:
> I think its generally frowned upon, because if you add an anonymous
> function, then you have no way of removing it, other than calling
> remove_all_filters.

+1

-Mike


More information about the wp-hackers mailing list