You are here: Home
Support site for Tips and Tricks HQ premium products
Good idea,
That’d be appreciated!
And ye, database operation, like get, update, wordpress guys did a lot of error handling in these functions to catch exception in various situation, make use of their return value is easy and greatly improve script robustness.
I’m sorry, but in current logic of your script, “The sale has been registered in the WP Affiliates Platform Database” will always be presented, unless the script crashes, in that case, no message will be presented also includes this one.
The only case it will not be presented is the input parameter $referer is empty, which is not so useful.
Also i think crashes’d better be avoided at least in this MAIN function, because once it crashes, all following actions will not be executed
i think i found where wp_aff_senders_email_address is, it is in Email settings, sorry for didn’t finish the video tutorials, it works perfectly now, thanks!