jawittdesigns
5/31/2014 - 9:52 PM

HTML Error Log for Plugin Activation Errors

HTML Error Log for Plugin Activation Errors

add_action('activated_plugin','save_error');
function save_error(){
    file_put_contents(ABSPATH. 'wp-content/error_activation.html', ob_get_contents());
}