Using a Cron Job to dynamically populate a field ONCE, and then making the field blank the next time someone visits page

I’m gonna attempt an answer here: In your GF code, you’re going to need to have a snippet that checks the hidden field in the db first. IF value is blank.. THEN they are not a winner = Proceed. If value is ‘winner’.. then update value to blank… Proceed with ‘winner’ functionality. In your cron, … Read more

Fatal error with jigoshop and woocommerce

Woocommerce is a fork (modified copy) of Jigoshop. You can run just one of those plugins, not both. The error is a result of declaring the same function declared two times, because this function was not changed in Woocommerce. The pages installed by Jigoshop were probably removed during the uninstall process. You will either find … Read more

How to call uninstall.php?

Uninstall hook and uninstall.php file are two alternate ways to implement uninstall functionality, they are independent of each other. When uninstall_plugin() is called it checks for uninstall.php or hook (in this order). So if you are using file approach there is nothing special you need to do to call it. WordPress looks it’s up by … Read more