Writing a function for WP Cron to run a SQL command daily
The wp-crontrol plugin allows you to add new cron events as well as new cron schedules. When creating a new event you will need to supply the name of the action hook to use. I guess the easiest way would be to just setup a hook in your themes function.php file: function update_meta_data($meta_id, $meta_value) { … Read more