um_register_hidden_role_field

Hook type

Filter

Description

Display hidden role field

Parameters

$role

(string) Hidden user role

Usage

<?php add_filter( 'um_register_hidden_role_field', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_register_hidden_role_field', 'my_register_hidden_role_field', 10, 1 );
function my_register_hidden_role_field( $role ) {
    // your code here
return $role;
}
?>

Change Log

Since: 2.0

Source

um_register_hidden_role_field is located in includes/core/um-actions-register.php::line 430