Lines:
1 to 51 of 51
<?php // (C) Copyright Bobbing Wide 2012, 2013 if ( !defined( 'OIK_OIK_BWTRACE_INCLUDES_INCLUDED' ) ) { define( 'OIK_OIK_BWTRACE_INCLUDES_INCLUDED', true ); /* function bw_trace_actions_on() – Turn on action tracing */ /* function bw_trace_actions_off() – Turn off action tracing */ /** This is a poorly named file it should be really have been oik-actions.inc */ bw_trace2( __FILE__, "file loaded" ); /* function bw_trace_add_actions() – Add trace actions for this hook */ /* function bw_call_lazy_trace_actions() – Avoid recursion when bw_lazy_trace_actions is adding its own filters */ /* function bw_lazy_trace_actions() – Attach oik-bwtrace to each action that gets invoked by do_action */ /* function bw_action_inc_init() – */ /* function bw_actions_reset() – Reset the trace actions file if this is the first time for this invocation */ /* function bw_trace_report_actions() – At shutdown produce a report of the actions performed. */ /* function bw_action_file() – Determine the name of the action file */ /* function bw_action_line() – */ /* function bw_log_action() – Log an action start or end */ /* function bw_trace_action_start() – Trace the fact that an action has started */ /* function bw_trace_action_end() – Trace the fact that an action has completed Notes: – We assume that priority of 1000 is the highest anyone will set – When the action is shutdown we call bw_trace_report_actions() – this could just as easily have been added using add_action( "shutdown", "bw_trace_report_actions" ) **?** */ /* function bw_lazy_trace_action_immediate() – Trace the fact that an action has been invoked without our prior knowledge of the possibility */ if ( !function_exists( "bw_trace_action_immediate" ) ) { /* function bw_trace_action_immediate() – Trace the fact that an action has been invoked without our prior knowledge of the possibility */ } }View on GitHub View on Trac