1. Home
  2. Docs
  3. Inner API
  4. vc_disable_frontend()

vc_disable_frontend()

To disable frontend editor on your site call vc_disable_frontend() function from your functions.php file. Note: This functions is available since WPBakery Page Builder 4.0 version.

<?php vc_disable_frontend(); ?>

 

Params

None.

Example

How to disable frontend editing mode in WPBakery Page Builder  .

<?php
vc_disable_frontend();
?>