vc_is_updater_disabled()

⌘K
  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 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 when it is running in a “theme mode”.

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

 

Was this article helpful to you? No Yes

How can we help?