ninja_forms_starter_form_exists
Check to see if a form exists.
Description
ninja_forms_starter_form_exists();
Usage
if ( !function_exists( 'ninja_forms_starter_form_exists' ) ) { require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/activation.php'; } // NOTICE! Understand what this does before running. $result = ninja_forms_starter_form_exists();
Defined (1)
The function is defined in the following location(s).
- /deprecated/includes/activation.php
- function ninja_forms_starter_form_exists() {
- $forms = ninja_forms_get_all_forms();
- if( empty( $forms ) ) {
- return false;
- }
- return true;
- }