Last active
May 24, 2016 18:17
-
-
Save kjohnson/dc3fb7762a5a37896069f49fe161c09e 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_action_my_addon', 'upgrade_my_addon_settings' ); | |
function upgrade_my_addon_settings( $action_settings ){ | |
$old_setting = $action_setting[ 'old_setting' ]; | |
// Modify $old_setting | |
$action_settings[ 'new_setting' ] = $old_setting; | |
return $action_settings; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment