DiscipleTools / disciple-tools-echo

Other
0 stars 1 forks source link

Only schedule the event when the plugin is set up and configured #3

Closed corsacca closed 2 years ago

corsacca commented 2 years ago

https://github.com/DiscipleTools/disciple-tools-echo/blob/e55c47d59e8cd78d1c18934a9d7ec697bab02409/echo-api/echo-sync.php#L11

Would be done when saving the settings. And when the admin sittings is loaded.

this will get a db check from happening every 5 mins even if the plugin is not used.