tp TouchPointWP Interfaces updatesViaCron - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\Interfaces\updatesViaCron
Interface to standardize items that are updated with Cron.
- Full name:
\tp\TouchPointWP\Interfaces\updatesViaCron
Methods
checkUpdates
Check to see if a cron run is needed, and run it if so. Connected to an init function.
public static checkUpdates(): void
- This method is static.
updateCron
Run the updating cron task. Fail quietly to not disturb the visitor experience if using WP default cron handling.
public static updateCron(): void
- This method is static.