wpcf7_support_html5_fallback

The contact-form-7 wpcf7 support html5 fallback hook.

Published Date - July 22, 2023

Description

return (bool) apply_filters( 'wpcf7_support_html5_fallback', false );

Parameters

  1. $false


Usage

The following example is for adding a hook callback.

// define the wpcf7_support_html5_fallback callback 
function custom_wpcf7_support_html5_fallback( $false ){ 
   //custom code here
    return $false
} 

//add the action 
add_filter('wpcf7_support_html5_fallback', 'custom_wpcf7_support_html5_fallback', 10, 1)

Defined

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

contact-form-7/includes/functions.php

return (bool) apply_filters( 'wpcf7_support_html5_fallback', false );