Filter: um_registration_for_loggedin_users

apply_filters( 'um_registration_for_loggedin_users', $show, $args ) → {bool}

Filters the ability to show registration form for the logged-in users. Set it to true for displaying registration form for the logged-in users.

Parameters:
Name Type Description
$show bool

Show registration form for the logged-in users. By default, it's false

$args array

Shortcode arguments.

Since:
  • 2.1.20
Source:
Returns:

Show registration form for the logged-in users.

Type
bool
Example

Show registration form for the logged-in users for all UM registration forms on your website.

add_filter( 'um_registration_for_loggedin_users', '__return_true' );