cf_custom_fields_get_forms
Get Caldera Forms.
Description
(array|void) cf_custom_fields_get_forms();
Includes backwards compat for pre-Caldera Forms 1.3.4
Returns (array|void)
Usage
if ( !function_exists( 'cf_custom_fields_get_forms' ) ) { require_once ABSPATH . PLUGINDIR . 'caldera-custom-fields/core.php'; } // NOTICE! Understand what this does before running. $result = cf_custom_fields_get_forms();
Defined (1)
The function is defined in the following location(s).
- /core.php
- function cf_custom_fields_get_forms() {
- _deprecated_function( __FUNCTION__, '2.1.3', 'Caldera_Forms_Forms::get_forms( true )' );
- if ( class_exists( 'Caldera_Forms_Forms' ) ) {
- $forms = Caldera_Forms_Forms::get_forms( true );
- } else {
- $forms = Caldera_Forms::get_forms();
- }
- return $forms;
- }