Description
Implement "wp_ajax_nopriv_oiksc_create_api" action for oik-shortcodesObtain the APIKEY from the request. If valid then continue with oiksc_ajax_oiksc_create_api()
Usage
oiksc_ajax_nopriv_oiksc_create_api();Parameters
Returns
voidSource
File name: oik-shortcodes/oik-shortcodes.phpLines:
1 to 9 of 9
function oiksc_ajax_nopriv_oiksc_create_api() { $continue = oiksc_validate_apikey(); if ( $continue ) { oiksc_ajax_oiksc_create_api(); } bw_backtrace( BW_TRACE_VERBOSE ); bw_flush(); exit(); }View on GitHub
Called by
Calls
1 to 4 of 4
- bw_backtrace() – Log a debug_backtrace() to the trace log file if tracing is active
- bw_flush() – Use bw_flush() to echo the contents of $bwecho then empty it
- oiksc_ajax_oiksc_create_api() – Implement "wp_ajax_oiksc_create_api" action for oik-shortcodes
- oiksc_validate_apikey() – Validate the apikey field
