Filter: um_completeness_field_id

apply_filters( 'um_completeness_field_id', $field_id, $data, $args ) → {string}

Filters change core id not allowed duplicate.

Parameters:
Name Type Description
$field_id string

Field id.

$data array

Field Data.

$args array

Optional field arguments.

Since:
  • 2.0.13
Source:
Returns:

Field id.

Type
string
Example

Change field core id.

function function_name( $field_id, $data, $args ) {
    // your code here
    return $field_id;
}
add_filter( 'um_completeness_field_id', 'function_name', 10, 3 );