caldera_form

The Caldera Forms caldera form shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[caldera_form]'); 
  1. // variable usage 
  2. $result = do_shortcode('[caldera_form]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/classes/core.php  
  1. // find if profile is loaded 
  2. add_action( 'wp_loaded', array( $this, 'cf_init_system' ), 25 ); 
  3. add_action( wp, array( $this, 'cf_init_preview' ) ); 
  4.  
  5. // render shortcode 
  6. add_shortcode( 'caldera_form', array( $this, 'shortcode_handler' ) ); 
  7. // modal shortcode 
  8. add_shortcode( 'caldera_form_modal', array( $this, 'shortcode_handler' ) ); 
  9. add_action( 'wp_footer', array( 'Caldera_Forms_Render_Modals', 'render_footer_modals' ) ); 
  10.  
  11. //filter shortcode atts for defaults