The contact-form-7 wpcf7 form autocomplete hook.
Published Date - July 22, 2023
$autocomplete = apply_filters( 'wpcf7_form_autocomplete', '' );
$
The following example is for adding a hook callback.
// define the wpcf7_form_autocomplete callback
function custom_wpcf7_form_autocomplete( $ ){
//custom code here
return $
}
//add the action
add_filter('wpcf7_form_autocomplete', 'custom_wpcf7_form_autocomplete', 10, 1)
The filter is defined in the following location(s).
contact-form-7/includes/contact-form.php
$autocomplete = apply_filters( 'wpcf7_form_autocomplete', '' );