[wp-hackers] add_filter() with multiple arguments
eric at eamann.com
Mon Aug 23 17:39:21 UTC 2010
>> PS: Don't use categories at all for the above. Register a custom taxonomy.
Normally I wouldn't, but I'm trying to answer someone's specific question and
they're already using categories.
The reason I was suggesting to hook to `get_categories_taxonomy` is because he
only needs to set $args['exclude_tree'] and, since $args is accessible there, it
seemed like the quickest, easiest way to do that ... but when
`get_categories_taxonomy` passed two arguments rather than just 1
wasn't sure what to do ...
More information about the wp-hackers