[wp-trac] [WordPress Trac] #7216: remove_filter should allow all callback functions for a tag to be removed

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 1 15:23:06 GMT 2008


#7216: remove_filter should allow all callback functions for a tag to be removed
-------------------------+--------------------------------------------------
 Reporter:  filosofo     |       Owner:  anonymous                  
     Type:  enhancement  |      Status:  new                        
 Priority:  normal       |   Milestone:  2.6                        
Component:  General      |     Version:  2.6                        
 Severity:  normal       |    Keywords:  has-patch remove_filter all
-------------------------+--------------------------------------------------
 Sometimes you want to remove lambda callback functions, and sometimes you
 want to remove all callback functions for a given action or filter hook,
 but currently you can't.

 My patch allows you to remove all callback functions for a given tag, by
 specifying "all" as the function name: {{{remove_filter('tag_name',
 'all');}}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7216>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list