Cron firing my function everytime wp-admin is visited

An idea I came up with was using the new WP Heartbeat API as opposed to using cron. Have your plugin fire off a call to your logging system every hour.

Pippin’s tutorial contains the majority of the code you’ll need to get started.

Leave a Comment