Overview
WPBakery Page Builder
vc_add_default_templates()
To add more predefined templates to the WPBakery Page Builder interface call vcadddefault_templates() function in your function.php file.
vc_add_param()
To add new parameter to existing content element you can use vcaddparam() function. List of available parameters.
vc_add_params()
This helper function is similar to vcaddparam(), but it can accept multiple params that should be added to your content element.
vc_disable_frontend()
To disable frontend editor on your site call vcdisablefrontend() function from your functions.php file.
vc_editor_post_types()
This helper function returns array of content types where WPBakery Page Builder editor is enabled.
vc_enabled_frontend()
Returns (bool) true if front end editor is enabled or (bool) false if theme author previously used vcdisablefrontend() to disabled front end editor on the site.
vc_is_as_theme()
Helper function that will return (bool) true if WPBakery Page Builder is integrated in to the theme. This is true if theme author called vcsetastheme() from theme's functions.php file.
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 vcsetastheme(true) from theme’s functions.php file.
vc_lean_map()
Map new shortcodes to WPBakery Page Builder with "lazy" method.
vc_map_update()
After vcmap() function call all mapping data is stored in memory, if you need to modify one of the existing parameters you can use vcmap_update() function to do that.
vc_map()
To add your shortcode to the WPBakery Page Builder content elements list, vc_map() function should be called with an array of special attributes describing your shortcode.
vc_remove_element()
To remove content element from WPBakery Page Builder editor you should call vcremoveelement() function from your theme’s functions.php file with shortcode’s base passed as parameter.
vc_remove_param()
To remove parameter from existing content element you can use vcremoveparam() function.
vc_set_as_theme()
You as a theme author may want to hide certain WPBakery Page Builder settings tabs, for example: "Design options" and "Custom CSS" tabs under WP Dashboard -> WPBakery Page Builder page.
vc_set_default_editor_post_types()
To enable WPBakery Page Builder for theme defined post types by default, you can make use of vcsetdefaulteditorpost_types() API function.
vc_set_shortcodes_templates_dir()
To override directory where WPBakery Page Builder should look for template files for content elements call vcsetshortcodestemplatesdir() function from your functions.php file.
vc_shortcodes_theme_templates_dir()
This function returns path to the folder where WPBakery Page Builder is looking for content element templates.
vc_get_shortcode()
SINCE 4.4.3
vc_update_shortcode_param()
Since 4.2
vc_map_get_attributes()
SINCE 4.6
vc_map_get_defaults()
SINCE 4.6
vc_remove_all_elements()
SINCE 4.5
vc_default_editor_post_types()
SINCE 4.2
vc_editor_set_post_types()
SINCE 4.4
vc_map_integrate_shortcode()
SINCE 4.4.2
vc_map_integrate_parse_atts()
SINCE 4.4.2
vc_add_shortcode_param()
SINCE 4.4