wpcf7_html5_fallback

The Contact Form 7 wpcf7 html5 fallback function.

Description

wpcf7_html5_fallback(); 

Usage

  1. if ( !function_exists( 'wpcf7_html5_fallback' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/controller.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpcf7_html5_fallback(); 
  7.  

Defined (1)

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

/includes/controller.php  
  1. function wpcf7_html5_fallback() { 
  2. return; 
  3.  
  4. if ( wpcf7_script_is() ) { 
  5. wp_enqueue_script( 'jquery-ui-datepicker' ); 
  6. wp_enqueue_script( 'jquery-ui-spinner' ); 
  7.  
  8. if ( wpcf7_style_is() ) { 
  9. wp_enqueue_style( 'jquery-ui-smoothness',  
  10. wpcf7_plugin_url( 'includes/js/jquery-ui/themes/smoothness/jquery-ui.min.css' ), array(), '1.10.3', 'screen' );