Please Log in or Create an account to join the conversation.
You can use substitutions in your PHP. The code will have substitutions replaced before executing.Question 2: How can I get the user within this trigger "Before user delete"? Which substitution can I use within php code?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You use standard substitution format. Depending on your trigger var1 may not even be the user object. You should just be using [user_id].For my second question what is the variable or substitution I have to use to get the userid. I tried several things but I don't get it
Depends on the trigger you're using, but you can see some of the trigger variables listed in the below tutorial.Where do you have a list of available variables which I can use?
Please Log in or Create an account to join the conversation.