Skip to content

Instantly share code, notes, and snippets.

@bappi-d-great
Created July 30, 2018 21:10
Show Gist options
  • Save bappi-d-great/c7beea54adc1250c5277ac7383a2df01 to your computer and use it in GitHub Desktop.
Save bappi-d-great/c7beea54adc1250c5277ac7383a2df01 to your computer and use it in GitHub Desktop.
Method: update_form_settings()
<?php
$form_id = 7;
$settings = array(
'form-padding-top' => '30px',
'cform-label-font-size' => '20'
);
$fields = Forminator_API::update_form_setting( $form_id, $settings );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment