apply_filters( 'clarkson_user_type', $type, $user ) → {null|string}
    Allows the theme to overwrite class that is going to be used to create a user.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| $type | null | string | Sanitized class name. | 
| $user | WP_User | Sanitized class name. | 
- Since:
- 1.0.0
 
- Source:
Returns:
    Class name of user to be created.
- Type
- null | string
Example
// load a different class instead of what Clarkson Core calculates.
add_filter( 'clarkson_user_type', function( $type, $user ) {
 if ( user_can( $user, 'read' ) ){
     $type = self::OBJECT_CLASS_NAMESPACE . 'custom_user_class';
 }
 return $type;
}, 10, 2 );