caldera_form_modal

The Caldera Forms caldera form modal shortcode.


Usage

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

Defined (1)

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

/classes/core.php  
  1. add_action( wp, array( $this, 'cf_init_preview' ) ); 
  2.  
  3. // render shortcode 
  4. add_shortcode( 'caldera_form', array( $this, 'shortcode_handler' ) ); 
  5. // modal shortcode 
  6. add_shortcode( 'caldera_form_modal', array( $this, 'shortcode_handler' ) ); 
  7. add_action( 'wp_footer', array( 'Caldera_Forms_Render_Modals', 'render_footer_modals' ) ); 
  8.  
  9. //filter shortcode atts for defaults 
  10. add_filter( 'shortcode_atts_caldera_form', array( 'Caldera_Forms_Shortcode_Atts', 'allow_default_set' ), 5, 4 ); 
  11. add_filter( 'shortcode_atts_caldera_form_modal', array( 'Caldera_Forms_Shortcode_Atts', 'allow_default_set' ), 5, 4 );