License Checker wp_remote_get
-
Hello,
I have setup a plugin that works with the license checker, when entering the license and clicking the activate license button.
However, I also need it to check back on the license key at least once a day, automatically to verify the license key hasn’t expired. I have the following outside of the “isset($_REQUEST[‘activate_license’])” if statement.
$response = wp_remote_get($query, array(‘timeout’ => 20, ‘sslverify’ => false));
But, that just means that it is checking on that license one after another consistently, which is causing resource limits to be reached. Is there a way that I can only run that license check once a day?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘License Checker wp_remote_get’ is closed to new replies.