Skip to content

This Wordpress plugin is designed to delete old wordpress posts on a daily basis based on a custom field "Date".

Notifications You must be signed in to change notification settings

jamiekeefer/expired_post_delete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

expired_post_delete

This Wordpress plugin is designed to delete old wordpress posts on a daily basis based on a custom field post meta data "Date".

Should be easy to extend and modify the WP_Query to determine what is to be deleted if you have ther custom fields.

/**

  • Plugin Name: Expired Post Delete
  • Plugin URI: http://keefermedia.com/expired-post-delete/
  • Description: Delete expired posts based on date field custom data.
  • Version: 1.0.0
  • Author: Jamie Keefer
  • Author URI: http://keefermedia.com
  • Network: Optional. Whether the plugin can only be activated network wide. Example: true
  • License: A short license name. Example: GPL2 */

/* Copyright 2014 Jamie Keefer (email : [email protected])

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as 
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/

About

This Wordpress plugin is designed to delete old wordpress posts on a daily basis based on a custom field "Date".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages