quform_get_value_text

This hook is run before a field value is returned in plain text format. Using this hook will affect the way that the value is displayed in plain text notifications.

quform_get_value_text_X_X

This hook is run for a single field.

Example

12
3
4
5
add_filter('quform_get_value_text_1_3', function ($value, Quform_Element_Field $element, Quform_Form $form) {    // Custom code
 
    return $value;
}, 10, 3);
add_filter('quform_get_value_text_1_3', function ($value, Quform_Element_Field $element, Quform_Form $form) {
    // Custom code

    return $value;
}, 10, 3);
1
2
3
4
5
6
7
function my_get_value_text($value, Quform_Element_Field $element, Quform_Form $form)
{
    // Custom code
 
    return $value;
}
add_filter('quform_get_value_text_1_3', 'my_get_value_text', 10, 3);
function my_get_value_text($value, Quform_Element_Field $element, Quform_Form $form)
{
    // Custom code

    return $value;
}
add_filter('quform_get_value_text_1_3', 'my_get_value_text', 10, 3);

Parameters

Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy