tp TouchPointWP updatesViaCron - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\updatesViaCron

Interface to standardize items that are updated with Cron.

  • Interface name: updatesViaCron
  • Namespace: \tp\TouchPointWP
  • This is an interface

Methods

checkUpdates

void tp\TouchPointWP\updatesViaCron::checkUpdates()

Check to see if a cron run is needed, and run it if so. Connected to an init function.

  • Visibility: public
  • This method is static.

updateCron

void tp\TouchPointWP\updatesViaCron::updateCron()

Run the updating cron task. Fail quietly to not disturb the visitor experience if using WP default cron handling.

  • Visibility: public
  • This method is static.