• Resolved the_lar

    (@the_lar)


    Hi,

    In woocommerce I would like to record when our sales managers switch to customers, I have some custom tracking set up in a seperate pluing with it’s own table.

    I’m looking at user-switching.php, switch_to_user function specifically, I can’t see any suitable apply_filter in there which I could easily hook into to do this though. I could replace the switch_to_user function in my functions.php I guess – would this be the best way to achieve this and I could then add my custom tracking code that way?

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tracking user switching’ is closed to new replies.