Inner API
During the development process, we always receive some quality feedback from our users and developers and based on that feedback we are adding new features to the WPBakery Page Builder. One of that features was Inner API.
Element mapping
vc_map()
Register a new content element with WPBakery Page Builder.
vc_lean_map()
Register elements with lazy loading for better performance.
vc_map_update()
Update settings of an existing mapped element.
vc_remove_element()
Remove a content element from the page builder.
vc_remove_all_elements()
Remove all registered content elements at once.
vc_get_shortcode()
Get settings of a registered shortcode element.
Parameters
vc_add_param()
Add a single parameter to an existing element.
vc_add_params()
Add multiple parameters to an existing element.
vc_remove_param()
Remove a parameter from an existing element.
vc_update_shortcode_param()
Update a specific parameter in an element.
vc_add_shortcode_param()
Register a new custom parameter type.
vc_map_get_attributes()
Get attributes from shortcode settings.
vc_map_get_defaults()
Get default values for element parameters.
Shortcode integration
vc_map_integrate_shortcode()
Integrate third-party shortcodes with the page builder.
vc_map_integrate_parse_atts()
Parse attributes for integrated shortcodes.
Editor & post types
vc_editor_post_types()
Get list of post types where the editor is enabled.
vc_editor_set_post_types()
Set which post types can use the page builder.
vc_default_editor_post_types()
Get default post types for the editor.
vc_set_default_editor_post_types()
Set default post types for the editor.
vc_disable_frontend()
Disable frontend editor functionality.
vc_enabled_frontend()
Check if frontend editor is enabled.
Templates & theme integration
vc_add_default_templates()
Add custom default templates to the template library.
vc_set_shortcodes_templates_dir()
Set custom directory for shortcode templates.
vc_shortcodes_theme_templates_dir()
Get theme templates directory for shortcodes.
vc_set_as_theme()
Set WPBakery Page Builder as part of a theme.
vc_is_as_theme()
Check if page builder is running as part of a theme.
vc_is_updater_disabled()
Check if automatic updates are disabled.