Write/saved logs in WordPress

I’d recommend doing large bulk updates to the database like big imports or exports outside of the WordPress codebase as much as possible because of issues like this, but only if this makes sense for your code and you’re able to maintain the wordpress data structures If the logging information is just to see what … Read more

How to hook into action/filter call

The callbacks hooked onto ‘all’ are called prior to the callbacks for any hook (action and filters) being called. (See source) add_action( ‘all’, ‘wpse115617_all_hooks’ ); function wpse115617_all_hooks(){ //This is called for every filter & action //You can get the current hook to which it belongs with: $hook = current_filter(); } See http://queryposts.com/function/current_filter/