You will have to write a plugin which creates a daily cron job in the WordPress system.
Here’s an article describing how to write a cron plugin:
The function (callback) that you trigger in the cron plugin will use WP_QUERY to get a list of all your published custom post types after a certain date.
e.g.
$my_query = new WP_Query( array(
'post_type' => 'your-cpt-name-here',
'order' => 'ASC',
'posts_per_page' => 1,
'date_query' => array(
array(
'after' => '1 day',
)
),
) );
Run through the results and send an email using wp_mail()
.
Alternatively, ask on fiver.com and get a developer to do it for you. It’s pretty simple so won’t cost very much at all.
Related Posts:
- WP cron: when to schedule a 1-time event
- Set post to draft after set period based on post_modified date
- Running a function on post content and CPT meta
- Auto Draft Specific Categories Posts after a certain number of Days
- Loading custom content type from ajax results?
- Trash / Draft a WordPress custom post after custom date field expires
- 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
- How do you make a custom post type items automatically delete items 3 months after publication?
- Convert post type to another
- Auto Expire/Delete Custom Post Type Posts after specified time
- What is the most efficient way to execute recursive complex queries?
- Set up a WP Cron scheduled event to update calculated ACF field
- Update post status from “publish” to “trash” prior to year 2018
- wp_set_post_terms not updating with WP Cron Event
- Reading csv from specific directory and insert it to custom post type (cron job)
- How to get all taxonomies of a post type?
- Permalinks: custom post type -> custom taxonomy -> post
- How to Add Tags to Custom Post Type?
- How come Featured Image isn’t showing up in my Custom Post Type?
- Adding ‘menu order’ column to custom post type admin screen
- Efficient Taxonomy Intersection
- How to create a wp_query that contains both meta_query and tax_query
- Display custom post type and custom fields within a Bootstrap Carousel
- Notice: map_meta_cap was called incorrectly
- Archive page…limiting posts per page
- Seperating Custom Post Search Results
- WP 3.1 – archive pages for custom content types possible now without a plugin?
- Use WP_Query object inside a function
- WP_Query search custom posts meta date fields
- How to have a custom URL structure for a custom post type?
- Custom permalinks – post type – hierarchical taxonomy’s
- How do I create new content pages for my Custom Post Type?
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- Taxonomy list. Order by a specific custom post type count
- Rewrite CPT slug with two taxonomy slug instead of one
- Creating a simple pagination for custom post type templates
- Custom post types and permalinks : What a mess !
- Custom content type meta_box_cb does not run
- WP_Query tax_query on ACF post_object
- Custom Taxonomy breaking pages permalinks
- Frontend Form for Custom Post Type
- Query Custom Post Types by date (custom field) range
- CPT’s archive and single page not working [closed]
- How to show custom post template from single page?
- Custom query shows custom post types in trash
- Do i need to keep register_post_type in functions.php?
- Problem with custom post types, taxonomy and permalinks
- How to create new category for custom post type?
- Display multiple custom post types and sort them chronological by one of their fields
- How to clone the “Projects” Custom Post type in Divi theme
- Remove url rewrites for registered taxonomies
- Received nothing after executing AJAX post function
- Remove visibility for custom post type
- Group CPT posts by custom taxonomy
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom Post Types in the WordPress Navigation Menu
- Get term name without a foreach loop
- Getting used tags per post type
- Navigate posts with different post type that are in the same categories
- the_title not working
- Show Custom Message in WordPress Admin
- How do I add html content to custom post type Posts using php?
- WordPress notification if new post published
- Custom Post type collection
- Restrict category access to specific users/groups. Author always has access
- Custom post type in theme not appearing
- How to Organize and Sort Gallery of Images
- Getting custom taxonomy posts on archive page
- How to programmatically add elements in a custom menu
- Display what taxonomies a custom post has?
- How to recover the post ID earlier in the WP admin hook action “firing” sequence?
- Orderby meta_key/meta_value not displaying anything, am I overlooking anything?
- Page that lists publications by classifying them by taxonomy
- get_query_var(‘paged’) return 0 in custom category page
- users post count
- Order admin post list table by meta field, and have posts without the meta field always be at the end of the list
- Having hierarchies inside WordPress custom post type
- Limit 1 post by user in each custom post type
- Custom page for creating/editing custom post type
- Subpages URLs for Custom Post Type
- WordPress post not executing shortcode until updated
- Modify the category post counting function
- Post navigation doesn’t show (in custom template, custom post type, custom query)
- Keep custom read more link on the same line as excerpt text
- Custom Post Type
- Force WordPress to only match URL in category
- Working with gallery shortcode and get gallery images
- Can I create a taxonomy term that mirrors the name of a new custom post?
- Ads below footer
- Rewrite for custom type and custom taxonomy
- Query child posts on parents single.php?
- Show custom post along with default post
- Template with Custom Post Type (Custom Tables) does not work
- Ordering custom posts
- Custom post type – update_meta not working
- Where do I insert to? [closed]
- WooCommerce – Complete Order when an action occurs
- How to debug a 404 error on pages whose content is perfectly displayed when I explore it?
- Add post id to url instead of WordPress default -2 suffix
- How to consume external API from WordPress post editor and display the response data in the custom field?