I think you’ll need to combine the save_post hook
(codex link here) and the admin_notices
hook (codex link here). I know link only answers are normally not acceptable, but I think you should start with reading some codex stuff :-). Hope this helps!
Related Posts:
- How to remove custom post type archive
- How to use a custom post type archive as front page?
- How to get current get_post_types name?
- Filtering a custom post type by custom taxonomy in archive template
- get term archive url / link
- How to get the custom post type from an archive page?
- Get term slug of current post
- DOING_AUTOSAVE function in wordpress
- The Operator “NOT IN” Does Not Work In tax_query
- Ordering posts having multiple post-meta date fields
- How can I fix those issues generated by the Themecheck plugin
- Admin Post Update Redirection to Posts Screen
- Why is get_post_format() for “Standard” returns empty
- Custom Post type sort order not working in the admin area
- Page Templates – this code only works for one Custom Post Type
- Get multiple custom type posts at once in edit.php?post_type request
- Disable revisions for a specific post type only?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How to save the checked boxes?
- Custom Post Types – How to include custom fields
- Enabled Revisions to existing custom post type not working WordPress
- Disable dragging of metaboxes in custom post types?
- Adding new Post through Custom Post Type only offers me “Slug” as an option, how do I get more?
- template_redirect not working, apparently for no reason
- Bulk edit custom excerpt text in WordPress
- How to add new tab to admin list of posts and handle result list
- Archive Page Not Found on Custom Post Type
- Adding paged query to custom URL rewrite
- Connecting a taxonomy with a post type
- Customising rewrite rules for CPT single post URL to work as paged URL
- How to achieve representation of streets index with custom taxonomies
- Search Custom Post Type Custom Fields
- Optimised Code for Pulling Taxonomy Posts
- Can’t create more than 5 custom post types
- How to filter custom taxonomy categories on archive?
- Insert data on comment post
- Move custom post menu to under plugin admin menu
- Adding a custom post type taxonomy template in plugin
- Custom post type “preview” not working
- CPT custom archive template does not get loaded
- Loading custom content type from ajax results?
- Plugin: register custom post types, child ready and performance best practices
- How to set up an entity (post-type?) with many dependent entities (more post-types?)
- Is using taxonomies the way to go here or would custom post types be better?
- Add custom image size for custom post type or taxonomy
- Default post tab showing twice in admin bar
- Custom post type RSS feed, multiple post published on same day bug
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- How to display author post count for multiple custom post types?
- Extracting Address from Custom Post via Javascript for Google Maps API
- Custom Post Types — $args vs. labels array
- custom post for slider
- Confused about Custom Post Types
- Sortable column containing numeric values for Custom Post Type at WordPress Backend
- looping though custom post types and only return results in a given taxonomy
- custom fields cannt be seen with version 3.1
- Pagination on search results page
- Custom Taxonomy Template file not being used
- Sanitize title only if only custom post type
- Best way to create a search for custom post type by custom field values
- Taxonomy rewrite pagination 404
- WordPress post carousel
- Need to return a string as permalink insted of str_replace
- Custom Content Type with No Page View
- Custom types, taxonomies and query optimization
- How to list posts by term (custom taxonomy)
- How to setup different permlalinks for posts and pages?
- Query custom posts from custom taxonomy
- Problem Saving Custom Post Type Meta Values
- Change ordering of fields of custom post type in admin page
- Random item on Custom Query working Local but not on live
- I’m having trouble with Related Product “tax_query” ‘terms’ value
- How to set “section categories”?
- Get all posts by many custom post types
- wp_editor in custom post type is not saving formatted text like bold, italic etc
- Custom Post Type has wrong label and is not found when called by a loop
- Rewrite URL of Specific Post of Custom Type
- custom data model – link and populate from admin backend
- How do I display specific custom posts, and how do I edit a post’s singular page?
- WP_posts (Not meta) extra custom field column show and change it in a custom post type
- CPT not entering jQuery ready state
- Unexpected behavior from custom taxonomies
- Custom Post Type Rewrite – Page Not Found
- wp_query return nothing
- How can I convert custom posts types into regular posts?
- How to add gallery support to a custom post type?
- WPAlchemy Metabox rewriting slug
- Archive templates based on taxonomies
- Pagination URL order
- Return all wordpress custom posts in specific multidimensional array
- Why the custom post type links don’t work if not login?
- permalink structure for single-{post-type}.php in wordpress
- register_post_type comment is not working
- Advise on Custom Taxonomies and Structure
- show the most recent date of all posts to display on front end
- Send email on creation of custom post type and use get_post_meta()
- Can I add a wordpress page using the slug for a CPT rewrite
- YARRP related posts with custom post type and wp-graphql
- WordPress does not show the custom fields box
- Create a hierarchical list of posts that’s grouped and nested by category