New answers tagged


Set up xdebug, the only way to do any real debugging! What is your development set-up? Are you running your code from localhost or using vagrant?


I've tried the same thing and was able to hook into the pre_option_ filter by using all as filter. add_filter('all', 'pre_option_',1,3); function pre_option_($actionHook,$bool=false,$option_name) { if(strpos($actionHook,'pre_option_') === FALSE){ return $bool; } }

Top 50 recent answers are included