In the previous question I did not understand that only the WordPress user could be accessed. Now I included the command global $seplog_logged_userID, and changed the command $dss_sql_string=str_replace (“#user_login#”, $seplog_logged_userID, $dss_sql_string) on these two files: display-stats-getdata-single.php and display-stats-chart.php. Now I can access the ID of a logged user, generating charts depending on who is logged on the front end.