the parameters to remove_action are wrong, they should be exactly the same parameters that you used in add_action, first should be the hook and then the function name
remove_action('save_post','save_details');
Related Posts:
- Change “Enter Title Here” help text on a custom post type
- How do I get a post (page or CPT) ID from a title or slug?
- Limit the word count in the post title
- Is there a way to override the tag specified in header.php?
- How to correctly get post type in a the_title filter
- How to hook into the CPT’s title placeholder?
- Automatically fill custom field value on post publish/update
- title_save_pre on post publish
- Set Custom Post Type title to the Post’s Date
- Change title in head on Archive page
- How To Set Custom Post Type Title Without Supports
- Custom Taxonomies Terms as Post Title for Custom Post Types upon Publishing
- Set post title from two meta fields
- How I check if the same post slug has not been used before publishing?
- Custom Post Type with Custom Title
- Setting a title on a Custom Post Type that doesn’t support titles
- Using a Custom Field instead of original title field but only for Custom Post Type
- wp_update_post on specific custom post type
- Search Post Title Only [duplicate]
- dynamically update permalink and title with the values of custom fileds
- get_page_by_title() not returning anything [closed]
- Custom Post Types: Custom columns with Title submenu?
- Posts created in a Custom Post Type are lost if published without a title
- What is the impact if i ignore title and content in my custom post types CPT?
- wp_update_post based function works on existing posts, but not new posts
- How to filter out post type meta?
- How Can I Set the Post Author of a Post I Just Created With PHP?
- Using several custom fields as custom post title
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- How to use the Display Name as the post title in a custom post type?
- Add acf field in title (admin table)
- Insert and then update post_type by wp_update_post
- Posts are duplicating on wp_post_update
- How can I run this code once so that my generated post title doesn’t keep changing on publish/update?
- Set a maxlength for the title input in a custom post type
- Custom title set on quick edit
- Post author for revision not being set on update/insert
- Custom Postype specific changes in admin panel
- Custom Meta Title for Custom Post Type
- How to set the seo title tag on a page by page basis?
- Add the post type to the title of the page
- How to automatic update date and time when save custom post type
- Programmatically change post visibility on save_post action return a 500
- Custom meta Title for custom post type archive from page
- Getting all ID’s matching a title in a custom post type
- Address as a content type post
- Why does wp_update_post causes white screen?
- Update post if exist from PHP
- Sanitize title only if only custom post type
- Odd behaviour for the update button when displaying a WP_List_Table
- Add the custom post term to the custom post title
- How to keep a record of changes to a custom field?
- Auto Generate Post Title from 2 Custom Fields
- Updating a custom post status after an expiry date rather than trashing it
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- Want to add new label in new post
- Change the term based on the value of a $variable using wp_update_post in submitting a form
- filter the title changed also the page titles
- update flamingo_inbound post type after insert
- save_post affect creation and deletion
- Error [Column ‘post_title’ cannot be null] when title is disabled for Custom post type
- How to disable Publish button on Edit post if post title exists
- Can I override the permalink/slug on creation
- Custom Post save causes 500 error
- Set the Title of a Custom Post Type by code as Author’s Username
- Change custom post status to draft before today
- Register a title automatically with a relationship field
- Custom post type split title, setup permalink accordingly
- retrieving external api data and updating existing custom post
- Query by post title
- WP insert post and custom taxonomy
- Assign a Custom Role to a Custom Post?
- Implementing “Video of the Day” Feature?
- echo value from ‘select’ field type into page template using cmb2?
- Best way to arrange custom post types by Attributes -> Order metabox value?
- Separate Custom Post Type Taxonomy by Comma
- CSS for Custom Post Types
- Query post types with multiple keys
- How to generate a sitemap with custom posts (not Google XML)
- Need post_type_archive_title function but in ‘single’
- How do I get the permalink structure to work like this?
- Hierarchical Custom Post Types – Show only parent on tax archive?
- Sorting multiple custom post types without a meta key/value pair by sort order
- Remove fields on media uploader for custom page type – not working for “From Computer” or “From Url” tabs?
- WP Storing postmeta into revisions
- Full Custom Post Type List Organised by two Taxonomies
- Custom filter function not working with Custom post type
- How to produce a sub-page-system in WordPress
- False Positive on has_post_thumbnail
- Custom Taxonomy not displaying all post
- When updating non-public custom post type it says “Post updated. View Post”
- How to migrate Custom Field Template to a WordPress Multisite
- Custom Post Type or Shortcode, What to choose? [closed]
- Custom post type, taxonomy and admin bar
- Create API’s for custom-post types & custom queries using REST or Graphql
- Author page not loading the authored post archives
- My CPT has archive false, now I need use parent Page for slug
- WordPress query posts by custom post type not workng
- How can i embbed two different galleries in custom post type
- Get only one custom post from each category