/** * [_ddhook description] * @param [type] $return [description] * @return [type] [description] */ function _ddhook($return) { $DD = DevDebug::get_instance(); $args = func_get_args(); $hook = current_filter(); $trace = debug_backtrace(false); $DD->analyze($args, array('backtrace' => $trace, 'title' => "{$hook} args")); $DD->analyze($GLOBALS['wp_filter'][$hook], array('backtrace' => $trace, 'title' => $hook)); return $return; }
function init() { $this->api = DevDebug::get_instance(); }
function init() { $this->api = DevDebug::get_instance(); $this->title('DevDebug Log'); $this->_visible = (bool) filesize($this->api->log_filepath); }