Updated: Wordpress post expiration code


/ Published in: PHP
Save to your folder(s)

All you need to do when writing the post, is enter a custom field with the key "expiration" and set the value in the format: "2010/01/01 18:20:00" - this would expire the post at 6.20pm on the 1st January 2010.

URL: http://www.nrbet.com/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.