Support » Plugin: Activity Log » Awesome! Work as expected, thank you!

  • I also added this check in my theme functions.php, to disable editor access:

    
    add_action('admin_menu', function () {
        if ( !current_user_can('administrator')) {
            remove_menu_page('activity_log_page');
        }
    }, 999);
    
    add_filter( 'aal_init_caps', function () {
        return array(
            'administrator' => array( 'administrator', 'editor', 'author', 'guest' ),
        );
    });
    
    • This topic was modified 1 month, 1 week ago by ostap34php.
  • You must be logged in to reply to this review.