I think that at least part of what you want is to alter the submission update messages, probably in addition to @toscho’s code.
function kill_message($messages) {
global $post_type;
// var_dump($messages); die;
if ('your-cpt-slug' == $post_type) {
// alter your message strings
}
return $messages;
}
add_filter( 'post_updated_messages', 'kill_message' );
If you var_dump
the $messages
variable it is pretty obvious what the messages represent. Just rewrite them however you want.
Related Posts:
- Resolve a custom post type name vs. page permalink conflict (same slug)
- Can multiple custom post types share a custom taxonomy?
- How to Add Custom Fields to a Custom Post Type?
- Using save_post to replace the post’s title
- How do I safely change the name of a custom post type?
- Display current taxonomy term when inside custom post type
- limit selection of custom taxonomies to one?
- Importing old blog with regular posts into new custom post types
- $wp_query->queried_object->ID throws warning: Undefined property
- Load custom posts with same tag as page
- Get posts with tag all post types
- functions.php conditional tag only for custom post type
- Meta Query “IN” doesn’t work with ACF checkbox filter
- How do you modify the ‘post_parent’ of a custom post type?
- How to show related posts by category or custom post type?
- Archive or taxonomy pages not working for custom post type
- Custom Taxonomy returns no posts
- Display taxonomy term only if there’s a value
- Custom template for post type not working
- How to delete all posts from a custom post type?
- Frontend posting – everything saves other than checkboxes?
- Update content of multiple pages/posts at once?
- Query custom post types and a specific page?
- handling csv data with a custom post type
- Page as a child of a Custom Post Type
- Custom post types and permalinks
- Fetch taxonomies by custom post type id array
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- Normal pages as children of my Custom Post Type
- Diplay content from custom type as widget or sidebar?
- Custom post type and taxonomy slug issue
- Insert Multiple Post with Same Publish Button
- post_type_link not working in gutenberg
- Cannot save Checkbox meta box value from a Custom Post Type
- Custom Post Type template stored in plugin folder not showing in post attributes dropdown
- Sorting custom post type columns with external data and without meta values
- Change Slug in URL of Posts of custom post type
- Custom post ui plugin & WP_Query – Polylang
- How to add a post slug to a url?
- Change CPT archive title
- Adding custom post type to count in category
- wp_reset_postdata() and wp_reset_query() inside shortcode are not working to reset original page query
- The loop seems stuck to a single (now deleted) post
- Canonical url differs from custom post type archive URLs
- Custom post type archive page for multiple post types
- Invalid argument supplied in register_taxonomy $args->taxonomies
- Targeting custom post type
- Add the post type to the title of the page
- How to sort posts in a custom post type by title in ascending order by default?
- category page for custom post type
- Add first letter of titles to array, then compare arrays
- WP_query – Filter by tax_query and meta_query using multiple select
- Hide meta box for everything BUT a certain custom post type
- Create a list of recent Custom Post Types posts
- Empty search input does not return all posts
- Display custom tags for custom post listing page
- Update all published posts at once
- Get post ID of either existing post or new post
- How to convert custom fields to content
- next page with custom post
- What should I learn to develop event management in wordpress? [closed]
- Displaying Posts Using a Custom Query with a Custom Field and a term_id
- What is the best way to manage small blocks of content on my home page?
- Limiting Amount of Posts in a Custom Post Type again
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Get taxonomy name used in a current post
- Custom post type not pulling CSS
- Hide the update button from edit view in wordpress custom post type
- Standard Page Child of CPT Not Found (404)
- Add link for CPT to another CPT on submit button
- CPT remove /blog/ by add new portfolio default /blog/%postname%/
- How to stop post status from reverting to Published?
- Query posts based on user preferences
- How to make id user can be view content
- Redirect users in first login to a dynamic link
- Custom permalink rewrite rules – how do I fix this?
- Custom Pagination based on Custom Post Type
- Link Custom Post Type Sidebar to Page/Posts
- WordPress custom post type
- How to have working breadcrumbs with several taxonomies associated with a custom post type
- Show Custom Post Type taxonomy term that matches custom field
- Redirect preview single post link to a page
- paging is not working properly on news archives page [duplicate]
- Yearly Archive from a custom date metabox (Event Start Date)
- Custom options for a Custom post type
- Custom Post Query Combined with Conditional Tags
- How to Display Custom Taxonomies in an Un-ordered HTML List
- 404 with Custom Post Type
- Custom loop won’t work, can’t find problem
- Custom post type permalink structure
- How do I use CPT and permalinks with a mobile theme?
- Knowledgebase / Docs: Custom Post Type, Pages or as a Post Category?
- Add top-level menu pointing to a different custom post type?
- custom post type not getting archived?
- 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
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- WordPress does not show the custom fields box
- Create a hierarchical list of posts that’s grouped and nested by category