um_secure_account_fields

Hook type

Filter

Description

Change secure account fields

Parameters

$fields

(array) Secure account fields

$user_id

(int) User ID

Usage

<?php add_filter( 'um_secure_account_fields', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_secure_account_fields', 'my_secure_account_fields', 10, 2 );
function my_secure_account_fields( $fields, $user_id ) {
    // your code here
return $fields;
}
?>

Change Log

Since: 2.0

Source

um_secure_account_fields is located in includes/core/um-actions-account.php::line 203