wpcf7_support_html5_fallback
Returns true if HTML5 fallback is active.
Использование
add_filter( 'wpcf7_support_html5_fallback', 'wp_kama_wpcf7_support_html5_fallback_filter' );
/**
* Function for `wpcf7_support_html5_fallback` filter-hook.
*
* @param $false
*
* @return
*/
function wp_kama_wpcf7_support_html5_fallback_filter( $false ){
// filter...
return $false;
}
- $false
- -
Где вызывается хук
wpcf7_support_html5_fallback
contact-form-7/includes/functions.php 187
return (bool) apply_filters( 'wpcf7_support_html5_fallback', false );