fusion_builder_update_element()

fusion_builder_update_element()

03/12/2018

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.

Function Parameters

    • $shortcode_tag ( string ) Registered shortcode name in Fusion Builder.
      • $param_name ( string ) Param name to be altered. Check shortcode to get the param name.
        • $values_to_append ( array | string ) Value to be set as default or append to the existing array.

        Recent Posts

        Recent Tweets

        For privacy reasons Twitter needs your permission to be loaded. For more details, please see our Privacy Policy.
        I Accept