Question about roles
-
Hi Simon,
Hope this question is not too unrelated to the plugin:
The following code
$role = get_role( 'editor' ); $role->add_cap( 'hide_from_intercom' );
Is that only applicable to your plugin or does it work if I pasted the snippet from Intercom myself?
I’m looking for just the very short snippet to exclude Admins and Editors from being sent to Intercom!
/Seif
https://www.ads-software.com/plugins/intercom-for-wordpress/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Question about roles’ is closed to new replies.