Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Is there a smarter way to find what each plugin adds to wp_footer?
There is probably a much easier or even better way to do this but if you have shell access to you web server try these commands.
cd wp-content/plugins
find . | xargs -I{} egrep -Hn "add_action.*wp_footer" {} 2>/dev/null | cut -d':' -f1,2
That should give you the file names and line numbers of which plugins add to the footer via add_action('wp_footer', 'your_function');
Once you know where the code is then you can look and attempt to figure out what is being added via wp_footer
.