um_profile_tag_hook__{$usermeta}

Hook type

Filter

Description

Change usermeta field value

Parameters

$value

(array) Meta field value

$user_id

(array) User ID

Usage

<?php add_filter( 'um_profile_tag_hook__{$usermeta}', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_profile_tag_hook__{$usermeta}', 'my_profile_tag', 10, 2 );
function my_profile_tag( $value, $user_id ) {
    // your code here
return $value;
}
?>

Change Log

Since: 2.0

Source

um_profile_tag_hook__{$usermeta} is located in includes/core/class-shortcodes.php::line 848