Description
At shutdown produce a report of the files loadedThe report is formatted for inclusion into a WordPress page formatted using shortcodes. The [file] shortcode will need to take into account the WordPress core files and the plugin or theme name. We use the global $bw_trace_anonymous to force bw_trace_file_part() to do its stuff.
Usage
bw_trace_included_files();Parameters
Returns
voidTO DO
Cater for 'wp-content/mu-plugins'TO DO
Cater for drop-insSource
File name: oik-bwtrace/includes/oik-actions.phpLines:
1 to 6 of 6
function bw_trace_included_files() { $files = PHP_EOL; $files .= bw_trace_included_files; $files .= bw_trace_get_included_files(); bw_trace( $files, __FUNCTION__, __LINE__, __FILE__, "included files" ); }View on GitHub View on Trac
Invoked by
Calls
1 to 2 of 2
Call hooks
API Letters:
