um_profile_field_filter_hook__

Hook type

Filter

Description

Change or filter field value

Parameters

$value

(string) Field Value

$data

(array) Field Data

$type

(string) Field Type

Usage

add_filter( 'um_profile_field_filter_hook__', 'function_name', 10, 3 );

Examples

<?php
add_filter( 'um_profile_field_filter_hook__', 'my_profile_field', 10, 3 );
function my_profile_field( $value, $data, $type ) {
    // your code here
return $value;
}
?>

Change Log

Since: 2.0

Source

um_profile_field_filter_hook__ is located in includes/um-short-functions.php::line 638