Description
Add a callee for the current function
Usage
oikai_add_callee( $id );Parameters
- $id
- ( ID ) required – the post ID of the API
Returns
voidTO DO
Ensure that the first "callee" gets added if it's NOT the current idSource
File name: oik-shortcodes/admin/oik-apis.phpLines:
1 to 14 of 14
function oikai_add_callee( $id ) { global $oikai_callee; if ( !isset( $oikai_callee ) ) { $oikai_callee = array(); global $oikai_post_id; if ( $id != $oikai_post_id ) { //br( "Adding $id $oikai_post_id" ); $oikai_callee[$id] = $id; } } else { $oikai_callee[$id] = $id; } bw_trace2( $oikai_callee, "oikai_callee", true, BW_TRACE_DEBUG ); }View on GitHub
