0

When using the "Create User Record" function on a CiviCRM Contact record, a wordpress (or other CMS) user is created.

How can the default wordpress/CMS role of that user be modified in CiviCRM? By default it seems to be "Subscriber". Is it possible to add other roles (in CiviCRM or in the CMS)?

1 Answer 1

1

It seems to be hardcoded to the default role: https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Utils/System/WordPress.php#L873

You can configure the default role in the wordpress admin pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.