Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( 'ninja_forms_upgrade_settings', 'upgrade_my_form_settings' );
function upgrade_my_form_settings( $form_data ){
$old_setting = $form_data[ 'old_setting' ];
// Modify $old_setting
$form_data[ 'new_setting' ] = $old_setting;
return $form_data;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment