Yes, I think you could add the deadline / expiration date for your custom post type as a meta value, which would be set in a custom meta box.
For automating the expiration you could add a custom wp-cron event with a daily schedule. So the event would fire once a day, do a meta query for posts with that date and loop them through to update their statuses (custom taxonomy or post status maybe?).
To ensure the cron event fires each day, you may want to disable the WP Cron and schedule a real cronjob, Should I disable WP_CRON and instead trigger wp-cron.php from server every few mins?
Related Posts:
- Row actions not showing? Why?
- How to append element after thumbnail
- Dynamic Custom Post Type Plugin
- Get rewrite slug of custom post type in template
- Admin notice not displaying
- How to customize a permalink (URL) structure?
- Problems wp_insert_post and save_posts filter
- Show current custom taxonomy
- How exclude or skip post type with get_next_post_link
- WordPress: Custom User Role cannot access Custom Post Type | “Sorry, you are not allowed to access this page”
- How do I add custom HTML to the content of an archive page’s posts?
- Validate Custom Post Type fields
- Custom post type page with parameter
- Change Dropdown jQuery to show/hide but with default place holder that shows all
- How to show the post which checkbox is not selected
- Is it possible to get the specific content on the search page?
- Plugin Development using classes – Public & Private Callbacks
- Having issue on Loading Meta Data From CSV to CPT
- How to dynamically register custom post type
- Display a query with multiple post types and same relationship on a single page
- WordPress Custom Post Types with a page as a parent?
- wordpress plugin error handling
- Determine which template-{slug}.php is being loaded
- Remove POST_TYPE from custom post type permalink
- Limit Authors to their Own Posts on front-end excluding admins
- How to redirect all pages of a custom post type [duplicate]
- Make custom post type display as a page
- Custom Post Type Navigation on Custom Field
- Plugin translation not working apart from name and description
- Get Post Primary Category
- Can’t get order_by meta_value_num to work properly
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- How to make sure content doesn’t display if selection is empty
- WP_Query to select custom post type with Advanced Custom Fields (ACF) date
- I’d like to cycle through existing posts in a post type, showing one per day ordered by title, and starting over when the last is reached
- 404 error when navigating to a taxonomy page with Cyrillic, what’s wrong?
- Redirect 404 page with ID in slug to associated page with same ID in slug
- Set a CPT slug as a base name for all the taxonomies
- A custom post type in another post type
- Redirect to another page using contact form 7? [closed]
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- how to set a WP Plugin’s url
- detect your custom post type in WordPress
- WP_Query Custom Post Type if Category ID Equals
- Option page’s form doesn’t work
- Control content before and after custom post type loop
- How to use a variable as a function name?
- How can I include active content in a custom post type?
- Different options per post type in WP_Query
- ajax response not recieving
- Creating a non-hierarchical Taxonomy that behaves like categories
- Shortcode is displaying the content on top of the page [duplicate]
- How to set the mainpage of a custom post type?
- custom post type by author – wp job manager
- Using Wp_Query, Json to add Highcharts series data
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- Let users upload image(s) to the post from front end
- CPT to installable Plugin
- Using page title as a link to term archive
- How to display custom post type only on a certain page?
- filter the_content, custom post type, and wp_query
- Fill custom fields when saving custom post types
- Setup page template array in a custom post type
- How do I ensure that post_type and Taxonomy use the same slug?
- pagination for custom post type archive page
- Custom post category name showing empty
- What is the best way to set the post category (Custom Post Type) automatically based on the one of the tags assigned to the post?
- Archive page for WordPress Custom Post Type doesn’t show pagination from paginate_links()
- Get next and prev item from custom WP_Query and Custom Post Type
- How add Filter by Tags and by categories to custom post type in Gutenberg block
- Error 404 change permalink term custom term taxonomy
- Show a custom post title in another custom post type in Meta box
- Register custom_post_type from static function
- How to select meta key in custom database query
- Set a template on a custom post in the plugin
- Persist meta box choices throughout all posts of same post type
- Restrict Custom Post Type to One Item
- Search result based on URL
- Custom search for a custom post type in WordPress
- How to seperate posts by categories?
- Widget area for individual posts (custom post type)?
- How to mix 2 kinds of post types
- How can I load Template file from wordpress plugin
- Show custom taxonomy not in submenu
- Can the wp_posts table have the same slug (post_name) in multiple statuses (post_status)?
- Loop carousel slider in wordpress
- Custom Post save causes 500 error
- Custom post tag images not displaying with ACF
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Function not pulling image or text from custom post type
- Add category slug as class attribute in a link array
- WordPress Custom Post Type and sort by Tags
- Custom post types working in functions.php but not in plugin
- Looping taxonomy in taxonomy?
- Permalink of Custom Post Type
- posting twice from an array?
- Pagination not working on homepage
- Order custom post type is beign ignored
- Getting ACF relationship field information
- public custom posts not showing in my wordpress plugin