Search code examples
jsonwordpressvisual-composer

How to create a new element in visualcomposer.io API ( visual composer) (not a wpbakery)


How to explore this API https://visualcomposer.io/docs/api/

I have installed this plugin https://github.com/VisualComposer/vcwb-demo-element-example-plugin. But when I am trying to add any new attribute into setting.json it not reflect in the UI.


Solution

  • You have to add this attribute's key to the object - 'editFormTab1'. For example, there is an attribute - 'metaCustomId' and it has been added to the list in object - 'editFormTab1'.