um_profile_{$key}__filter

Hook type

Filter

Description

Change not empty profile field value

Parameters

$value

(mixed) Profile Value

Usage

add_filter( 'um_profile_{$key}__filter', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_profile_{$key}__filter', 'my_profile_value', 10, 1 );
function my_profile_value( $value ) {
    // your code here
return $value;
}
?>

Change Log

Since: 2.0

Source

um_profile_{$key}__filter is located in includes/um-short-functions.php::line 1502