[wp-hackers] Auto shutoff comments to be shut off?

Christoph Rummel bronski at bronski.net
Tue Mar 8 08:47:29 GMT 2005


Carthik Sharma <carthik at gmail.com> (2005-03-07 12:46:36 -0500):
> To quote:
> It's pretty easy to put this into a plugin that runs every time the
> database is changed, so that we don't need a cronjob.

Lets give the plugin an option-setting to store the
date the autoclose has last been run. And then check
against the date. Voila, it runs only once a day.

Chris



More information about the wp-hackers mailing list