-
-
Save kjohnson/d0b36eb61f3c4e793589b5529f67c342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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