HI Mark @markussss
I read your article on simple history, I am trying to change the settings so only me “the admin” can see the user history log, how do i do this, I tried replying to the thread but it was closed, thank you so much!
I see this code, but do not know what to do with it.
// 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 ) { }
-
This reply was modified 1 year, 1 month ago by subagh.