fusion_builder_update_element()
12/02/2021
If you want to update any existing element setting options, you can simply use this function and the values will get appended to the existing settings for that element.
The function
Copy to Clipboard
Basic usage
Copy to Clipboard
The above example will add the color option “Black” and “Cyan” in the colors dropdown for the button element. Which will output the color class name as “fusion-black” and “fusion-cyan”, which you can use to customize the color for your button.
This is a rather simple solution if you want to use the custom color combination buttons on your site.