Filter: um_get_empty_status_users_query_result

apply_filters( 'um_get_empty_status_users_query_result', $total_users ) → {int}

Filters whitelisted usermeta keys that can be stored inside DB after UM Form submission.

Parameters:
Name Type Description
$total_users int

Count of the users with empty status. Query result, by default is null.

Since:
  • 2.10.6
Source:
Returns:

Count of the users with empty status. Or null.

Type
int
Example

Customize the empty status users query.

function my_get_empty_status_users_query( $total_users ) {
    $total_users = $wpdb->get_var( "your custom DB query here" );
    return $total_users;
}
add_filter( 'um_get_empty_status_users_query_result', 'my_get_empty_status_users_query' );