Allow administrator to see activity for all roles, even custom roles - #78
Allow administrator to see activity for all roles, even custom roles#78jsit wants to merge 1 commit into
Conversation
|
Hey @jsit.. Is it work with Multisite install? |
|
I've tested it on a multisite/network install. On Wed, Aug 26, 2015 at 1:53 PM, Yakir Sitbon notifications@github.com
|
|
Any change we can see this merged? There's a few instances I've ran into where I'd love to see other user roles (custom ones added by plugins) 👍 |
|
Bump. I'd love to see this too! |
|
Bumping this! |
|
I don't know where to ask this but I couldn't find any setting to delete a/some activity in record, without deleting them all. If possible, please allow us to manually delele/remove a certain activity by selecting one by one. Thank you! |
|
I applied your edit but after that some events were hidden. I solved adding this line |
|
Adding a filter to the array would be a great way to make the plugin easier
to customize in a 3rd party plugin or theme functions.php file.
`$all_roles = apply_filters( 'activity_log_roles_array', array() );`
Then other developers could filter the activity_log_roles_array and add/edit it to their specific needs.
…On Wed, Feb 20, 2019 at 6:34 AM Filippo Lazzarini ***@***.***> wrote:
I applied your edit but after that some events were hidden.
I solved adding this line
$all_roles = array_merge($all_roles, array( 'administrator', 'editor', 'author', 'guest' ));
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJdWBSQ1z2QB8SOi3hrH2UZ_-3938UDFks5vPTLWgaJpZM4FyvLO>
.
--
Robert DeVore
Call Me <7346864204> - Devio Digital <http://www.deviodigital.com> - WP
Dispensary <http://www.wpdispensary.com>
|
|
Hello, I'd love to see this too! |
|
Thank you guys :) |
https://wordpress.org/support/topic/activity-for-custom-user-roles-is-not-appearing-in-logs