How to disable plugins in the Bricks editor

Most WordPress plugins run sitewide. However, there is no need for certain plugins like WP Content Copy Protection & No Right Click and Complianz to run in Bricks editor. We typically need the functionality offered by these plugins only on the front end. One way is to figure out what assets these plugins load and dequeue them conditionally.

A better approach is to stop the plugins from loading all together if the current page is a Bricks editor page. There are several ways of doing this and in this Pro tutorial we are going to cover 2 methods.

Method 1

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to 390+ Bricks code tutorials with BricksLabs Pro