You appear to be a bot. Output may be restricted
Description
List the callers and callees for the selected oik_api including information about hooksSections displayed:
- Called by – the callers of this API
- Invoked by – the hooks which cause this function to be invoked
- Calls – the functions this API calls
- Call hooks – the action and filters this API invokes
Usage
oikai_list_callers_callees( $post_id );
Parameters
- $post_id
- ( ID ) required – the ID of the oik_api
Returns
voidSource
File name: oik-shortcodes/shortcodes/oik-apilink.phpLines:
1 to 21 of 21
function oikai_list_callers_callees( $post_id ) { $api_name = get_post_meta( $post_id, "_oik_api_name", true ); bw_trace2( $api_name, "API name" ); sdiv( "bw_callers" ); h3( "Called by", "bw_callers" ); oikai_list_callers( $post_id, $api_name ); ediv(); sdiv( "bw_invokers" ); h3( "Invoked by", "bw_invokers" ); oikai_list_invokers( $post_id, $api_name ); ediv(); sdiv( "bw_callees" ); h3( "Calls", "bw_callees" ); oikai_list_callees( $post_id ); ediv(); sdiv( "bw_invokes" ); h3( "Call hooks", "bw_invokes" ); oikai_list_hooks( $post_id ); ediv(); }View on GitHub