You appear to be a bot. Output may be restricted
Description
Add the filter function for the selected hooks
Usage
bw_trace_add_filters( $selected_hooks, $filter_func, $priority, $accepted_args );
Parameters
- $selected_hooks
- ( mixed ) required –
- $filter_func
- ( mixed ) required –
- $priority
- ( mixed ) optional default: 10 –
- $accepted_args
- ( mixed ) optional default: 9 –
Returns
voidSource
File name: oik-bwtrace/includes/bwtrace-actions.phpLines:
1 to 7 of 7
function bw_trace_add_filters( $selected_hooks, $filter_func, $priority=10, $accepted_args=9 ) { oik_require_lib( "bobbfunc" ); $hooks = bw_as_array( $selected_hooks ); foreach ( $hooks as $hook ) { bw_trace_add_filter( $hook, $filter_func, $priority, "$accepted_args" ); } }View on GitHub View on Trac