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.

Top ↑

Parameters Parameters


(string) WP_User role. Default role is 'administrator'.


(array) Original raw author data.

Top ↑

Source Source

File: includes/abstracts/llms-abstract-generator-posts.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.