You appear to be a bot. Output may be restricted
Description
Report the current status of the system with timingThese functions may be used in some fancy front-end dashboard so we'll need them to be usable to query values as well as display them How and when we show "details" is an interesting question
Usage
oikai_api_status_timer( $detail, $text );
Parameters
- $detail
- ( mixed ) optional –
- $text
- ( mixed ) optional –
Returns
voidSource
File name: oik-shortcodes/shortcodes/oik-api-status.phpLines:
1 to 8 of 8
function oikai_api_status_timer( $detail=false, $text=null ) { $elapsed = timer_stop( false, 6 ); h3( $text ); p( "Load time (secs): $elapsed " ); oikai_api_status( $detail ); bw_flush(); timer_start(); }View on GitHub