wpcf7_flamingo_get_value

The contact-form-7 wpcf7 flamingo get value hook.

Published Date - July 22, 2023

Description

$value = apply_filters( 'wpcf7_flamingo_get_value', $value,
		$field, $contact_form
	);

Parameters

  1. $value

  2. $field

  3. $contact_form


Usage

The following example is for adding a hook callback.

// define the wpcf7_flamingo_get_value callback 
function custom_wpcf7_flamingo_get_value( $value, $field, $contact_form ){ 
   //custom code here
    return $value
} 

//add the action 
add_filter('wpcf7_flamingo_get_value', 'custom_wpcf7_flamingo_get_value', 10, 3)

Defined

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

contact-form-7/modules/flamingo.php

$value = apply_filters( 'wpcf7_flamingo_get_value', $value,
		$field, $contact_form
	);