apply_filters( 'llms_generator_new_user_default_role', string $role , array $raw )
Filter the default role used to create a new user during generator imports
Description Description
This role is used a role isn’t supplied in the raw data.
Parameters Parameters
- $role
-
(string) WP_User role. Default role is 'administrator'.
- $raw
-
(array) Original raw author data.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |