Description
List invokers of the selected APIInvokers are the action or filter hooks that call the API.
Usage
oikai_list_invokers( $post_id, $api_name );Parameters
- $post_id
- ( ID ) required – of the API that's being called
- $api_name
- ( string ) required – future use
Returns
voidSource
File name: oik-shortcodes/shortcodes/oik-apilink.phpLines:
1 to 9 of 9
function oikai_list_invokers( $post_id, $api_name ) { oik_require( "shortcodes/oik-navi.php" ); $atts['post_type'] = "oik_hook"; $atts['meta_key' ] = "_oik_hook_calls"; $atts['meta_value'] = $post_id; $atts['orderby'] = "title"; $atts['order'] = "ASC"; e( bw_navi( $atts ) ); }View on GitHub
Called by
1 to 1 of 1
