Jump to content

Please help! I need to record member(user) name on button-pressed event


DavidoffNY

Recommended Posts

Hi,

 

I am very much a newbie with PHP. I am trying to log member names when they download media on WordPress site. From what I gathered I could use WordPress function:

$current_user = wp_get_current_user();

But I have no idea how to implement it on button-pressed event and record it into log file.

Can anyone help?

 

Thanks 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.