um_account_secure_fields

Hook type

Filter

Description

Change Account secure fields

Parameters

$fields

(array) Account Fields

$id

(int) User ID

Usage

add_filter( 'um_account_secure_fields', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_account_secure_fields', 'my_account_secure_fields', 10, 2 );
function my_account_secure_fields( $fields, $id ) {
    // your code here
return $fields;
}
?>

Change Log

Since: 2.0

Source

um_account_secure_fields is located in includes/core/class-account.php::line 451