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

vc_is_updater_disabled()

Helper function that will return (bool) true if automatic updates are disabled for WPBakery Page Builder (formerly Visual Composer) when it is integrated in to the theme. This is true if theme author called vc_set_as_theme( true ) from theme’s functions.php file.

<?php vc_is_updater_disabled(); ?>

Params

None.

Example

Check if updates are disabled for WPBakery Page Builder (formerly Visual Composer) when it is running in a “theme mode”.

<?php
if ( vc_is_updater_disabled() ) {
    //Do something
}
?>