You are searching for Ajax.
This Q&A may give you an idea: Unattaching images from a post.
There are many specialists on the matter here at WPSE, check this search query.
Related Posts:
- Change the text on the Publish button
- Row actions for custom post types?
- Register CPTs using Dashicons for admin menu icon in WP 3.8
- How can I bulk upload images and automatically create posts for each one at the same time?
- Use a separate upload folder for custom post attachment upload
- Remove “posts” from admin but show a custom post
- Handling front-end file uploads, considering safety and ease of use
- Hide “Add media”, HTML editor from TinyMCE
- Add content in custom post type page after the title and before columns
- How to check if I’m on a custom post type archive in the admin area
- Admin Filter – Add Post Type Description on Post Type Page
- how to group custom post types
- How to add custom columns to Custom Post Type admin screen
- Creating a metabox to upload multiple images, Ignoring The Featured Image
- Set custom upload path for custom post type only?
- Add content before/after admin post wp-list-table
- Custom post type Admin Page
- How to hide CPT files from media library programmatically
- Add metabox with media uploader in a custom post type [duplicate]
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- Ordering Post 2 Post admin meta box by meta from CPT
- how to create my own edit.php admin page code or template for my custom post type
- Displaying Post Title on Post Edit page?
- Backend search; include CPT meta?
- Image size filtering in Media uploader according to custom post type
- Rename the insert button in media upload window
- Make a custom column sortable, by custom post count
- Sort custom post types by last name in the backend
- Using multiple instances of wp_editor in Custom Post Type admin area
- Change upload_dir folder at a certain cpt but cant change back
- How to add post_author column to custom post type
- Use a textarea for a custom post type
- Restrict categories to a custom post type
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- Add text to post list/edit screens?
- Adding menu_order to CPT admin page
- Remove “Get Shortlink” button in admin of custom post type
- Upload Image from Front End and Resize
- MP3 Manager for WordPress
- How to rename image at uploading on specific plugin or post-type in WordPress
- How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?
- How to make post sticky in the admin page?
- Get all of user’s custom post types in WP Admin for plugin
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- How do increase the amount of links shown down the left in the admin menu?
- Force documents to appear in Featured Image dialogue
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- how to get URL of media uploaded to WordPress via media_handle_sideload()
- Unable to retrieve any posts of CPT in wp-admin
- Admin Pointers on a custom post type
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- Custom Post List View: Page or something else?
- Filter term taxonomy metabox in custom post type
- Addition of custom option panel crashes Media Library & Admin Area
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- Admin Filter – Add Post Type Description on Post Type Page
- manage_edit-{post_type}_sortable_columns sorts, but wrong!
- Custom Postype specific changes in admin panel
- Checking if $_FILE isset for an array of file upload metaboxes
- How to add multiple images to a custom post type without plugin [closed]
- It’s possible to hide body copy box for a custom post type?
- Show data from one Custom Post Type in another Custom Post Type
- Add a custom text to admin footer in a Custom Post Type page
- Why won’t this jQuery code work?
- WordPress custom post type capabilities issue
- Set thumbnail and title for a post type archive (not post itself!)
- Hide Status Option From WordPress Publish Metabox and Rename Published on:
- Create field of Custom Post Types
- Custom posts of one type have disappeared from admin. Still appear on site [closed]
- How to get the custom post list to admin user edit page?
- Questions regarding add_meta_box()
- Cannot upload featured image to a custom post type
- Insert into post button missing on custom post type
- Sorting custom post types in edit.php : Post disappear
- How to customize `Edit-Post` Screen
- jQuery UI & Admin (Calendar)
- Change Text in Admin Panel
- Hide title field of selected post-types on edit pages
- How can I put content before my custom post type default pages?
- get_posts() returns empty on custom post type /wp-admin/edit.php
- After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Admin Post Table – Remove Title Edit Link
- Sort custom post column by generated value?
- Why this didn’t work if i use get_the_ID(), but works if i pass the numeric id
- Restrict Custom Post Type to One Item
- Simple Data picker meta box
- Make it impossible to save a custom post type with both video and image selected?
- Multi Photo Upload with Caption on Front End for Custom Post Type
- How to override post-new.php with custom template
- Group based routing and administration
- Limit Number of Custom Post Type Dashboard
- Create Custom Post Type PDF File (Like Media) Then Add Searchable Custom Fields
- Filtering in admin broken for custom post type in 3.8.1?
- Show a custom field instead of username in the backend author area
- Can’t preview custom post – Redirected to home page
- How to make an admin create/edit post page to look like taxonomy page?
- Custom Post Type to Upload Images
- admin search of pages returns custom post types