I've been thinking for generating a custom revenue report for each user ID with an 'author' role monthly, which would be displayed on the backend.
All my online users must be able to view their own specific revenue report which is displayed on a custom admin menu tab.
While I as an administrator can input their revenues individually with the output creating a unique report for all of them.
Since I’m pretty new at coding stuff, I just couldn't wrap my mind on how to start honestly.
All I've managed on doing is create a simple additional admin menu + submenu with a URL redirect when someone clicks on it.
Based on my early research, I guess I probably need to use get_current_user_id in this. But, still I don't know where to start really.
I would appreciate if anyone could show guidance on how to write thd php script for what I need.