You appear to be a bot. Output may be restricted
Description
Return the hook param countIt should not be ?
Usage
$integer = bw_trace_get_hook_num_args( $hook );
Parameters
- $hook
- ( mixed ) required –
Returns
integerSource
File name: oik-bwtrace/includes/oik-action-counts.phpLines:
1 to 12 of 12
function bw_trace_get_hook_num_args( $hook ) { global $bw_action_parms; if ( isset( $bw_action_parms[ $hook ] ) ) { $num_args = $bw_action_parms[ $hook ]; //if ( 0 === $num_args ) { // $num_args = ''; //} } else { $num_args = '?'; } return( $num_args ); }View on GitHub View on Trac