wpcf7_html5_fallback()CF7 1.0

Enqueues scripts and styles for the HTML5 fallback.

Хуков нет.

Возвращает

null. Ничего.

Использование

wpcf7_html5_fallback();

Код wpcf7_html5_fallback() CF7 5.6.4

function wpcf7_html5_fallback() {
	if ( ! wpcf7_support_html5_fallback() ) {
		return;
	}

	if ( wpcf7_script_is() ) {
		wp_enqueue_script( 'contact-form-7-html5-fallback' );
	}

	if ( wpcf7_style_is() ) {
		wp_enqueue_style( 'jquery-ui-smoothness' );
	}
}