The following lines of codes will let disable all the plugins in your WordPress website.

Snippet Source/Credit: WP Snippets