Yes,
there are a couple filters you can use to archive this.
Something like this for example:
// Allow only the users specified in $allowed_users to show the history page, the history widget on the dashboard, or the history settings page
add_filter( 'simple_history/show_dashboard_page', 'function_show_history_dashboard_or_page' );
add_filter( 'simple_history/show_dashboard_widget', 'function_show_history_dashboard_or_page' );
add_filter( 'simple_history/show_settings_page', 'function_show_history_dashboard_or_page' );
function function_show_history_dashboard_or_page( $show ) {
$allowed_users = array(
'[email protected]',
'[email protected]',
);
$user = wp_get_current_user();
if ( ! in_array( $user->user_email, $allowed_users ) ) {
$show = false;
}
return $show;
}
Please check the examples file for more examples:
https://github.com/bonny/WordPress-Simple-History/blob/master/examples/examples.php