getLog()->remove(); $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; wp_redirect(remove_query_arg( 'clear_logs',$actual_link )); exit; } ?>
render_switcher_input('pys_logs_enable');?> Plugin Logs
Clear Logs Download Logs