You appear to be a bot. Output may be restricted
Description
Create the HTML for a hook links section for "Request summary"
Usage
bw_trace_create_hook_links( $action_counts, $heading, $implemented );
Parameters
- $action_counts
- ( array ) required – array of action counts, which may also contain filter counts
- $heading
- ( string ) required – a heading for this section
- $implemented
- ( bool ) optional – restrict output to hooks which are implemented
Returns
voidSource
File name: oik-bwtrace/includes/oik-action-counts.phpLines:
1 to 8 of 8
function bw_trace_create_hook_links( $action_counts, $heading, $implemented=false ) { $hook_links = "<h3>$heading</h3>"; $hook_links .= PHP_EOL; $hook_links .= '<!-- [hook $hook $type $num_args $count $attached] -->'; $hook_links .= PHP_EOL; $hook_links .= bw_trace_get_hook_links( $action_counts, $implemented ); bw_trace2( $hook_links, "hook_links", false ); }View on GitHub View on Trac