Upload the plugin files to the wp-content plugins taro-clockwork-post directory, or install the plugin through WordPress plugins screen directly..
Activate the plugin through 'Plugins screen WordPress..
Go to Setting > Reading and choose post type to expiration ready...
Private is the default post status but if you want another case, use filter hook for that..
Filter status if post type is `product` add filter { if { $status = 'no-stock } return $status }, 10, 2 ).
If status is false, this plugin doesn't change post status..
Use another action which will occur just after tscp expired status. do something just after post status is isn't changed add action { Post is still publish, But add some custom fields update post meta } )..
For example, assume that your site allows posts to be expired within 10 min..
Use hook to delay interval. add filter { Change interval from sec to 600 sec return 600 } )...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more