Created
April 3, 2017 14:40
-
-
Save Shelob9/047a6e95c7086e0845da30c9ca11e84d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/** | |
* Delete all form configs, but no entries. | |
*/ | |
$forms = Caldera_Forms_Forms::get_forms( false, true ); | |
foreach ( $forms as $form ){ | |
Caldera_Forms_Forms::delete_form( $form ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment