contact_form_to, $to, $all_values
contact_form_to, $to, $all_values
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('contact_form_to, $to, $all_values') is found 1 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 2893
* * @param string|array $to Array of valid email addresses, or single email address. * @param array $all_values Contact form fields */ $to = (array) apply_filters( 'contact_form_to', $to, $all_values ); $reply_to_addr = $to[0]; // get just the address part before the name part is added foreach ( $to as $to_key => $to_value ) { $to[ $to_key ] = Contact_Form_Plugin::strip_tags( $to_value ); $to[ $to_key ] = self::add_name_to_address( $to_value ); }