Tag Info

New answers tagged


While there are some WP–specific solutions that track template files, for complicated projects pretty much the only reliable list is using get_included_files() PHP function at the end of page load. It would give you everything, including WP core, but filtering it down to theme is relatively easy.


I've found this answer at: http://stackoverflow.com/questions/7878279/how-to-debug-save-post-actions-in-wordpress Method 1: add_action('save_post', 'something_process'); function something_process() { if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return; print_r($_POST); } Method 2: create log file (my_logs.txt) in a folder, where you ...

Top 50 recent answers are included