Try adding square brackets after the select element’s name:
<select multiple size="6" name="product_ids[]">
Related Posts:
- Using save_post to replace the post’s title
- Prevent post from being published if custom fields not filled
- Why won’t my metabox data save?
- Custom post type save_post action not firing
- Submitting posts from the front end – sanitizing data
- flush_rewrite_rules on save_post Does Not Work on First Post Save
- Is there an easy way to AJAX-ify saving of post?
- Custom field values get deleted
- Change 2 fields in the post depending on the 3rd field before save
- Unable to save or update postmeta for custom post type via action using save_post hook
- update_post_meta() whenever custom post type is updated
- Trigger “unsaved changes” dialog for custom post meta changes
- Frontend posting – everything saves other than checkboxes?
- Custom Post Custom Taxonomy Data Not Saving in Edit Screen
- Is it possible to create a post using a metabox?
- Confusion regarding Nonce & using it in Custom Columns for Saving Checkbox Value to Post Meta
- How to get updated data when save_post triggers?
- How can I set taxonomy programmatically
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- Troubles with acf/save_post and WP_Query
- CPT Validation to not show “Post updated.”
- save_post custom post type ? $_POST not working?
- Custom Post Meta from custom metaboxes is randomly being deleted
- Custom Post Type Metadata Not Saving
- detect when a custom post is cretaed for the first time
- What do the numbers mean at the end of add_action(‘save_post’)…?
- How check if a post is saved from backend or frontend?
- How to detect that the save_post hook is calling the callback associated to the current edit post page only
- How to prevent meta data from being edited in a post?
- Catch and display error on save_post action
- Custom Post Type Meta Box Text Input Field Won’t Save When Blank
- Save post action is called twice
- Urgent – WordPress keeps creating posts
- How to check for duplicate record before saving a Custom Post Type
- Custom post types saved as basic post
- Save_post acf data not updating category of post type
- Post meta is not accessible within save_post hook
- Custom post type meta fields missing on save_post_type
- How to save post_status using action save_post?
- How to stop post status from reverting to Published?
- save_post affect creation and deletion
- Link two different post using there post_id in post meta
- Custom meta box data not saving
- How to implement custom post type’s users
- How to hook save-post function to use taxonomy term in post-slug?
- Metabox is not saving
- Generate slug and meta data if meta field is empty
- Problem with ‘save_post’ hook not running
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Function that get ACF fields value before saving
- How to use wp_set_object_terms depending on page ID?
- How do you use orderby with meta_query in WordPress 3.1?
- Random post, once per day
- Prevent Google from indexing custom post types?
- How to display regular posts & custom post types that fall under a category using just the generic category template?
- Remove Trash / Delete option for Custom Post Type / Taxonomy
- How to filter custom post types by custom category taxonomy
- WP_Query to loop a Custom Field, Custom Post Types do not show
- sort events based on event date custom field
- Limit taxonomy results to a single cpt
- Redirect to post with only post ID in the URL vs post_type/post ID
- Custom-post-type-archive: posts sorted/filtered by year?
- Relationship between two taxonomies and a custom post type [closed]
- Change Permalink Structure for Tag.php template
- Custom page sidebar using Template dropdown box
- Role scoping for contributors down to the field level
- I would like to have different styles for my posts based on the content of each post
- Separate custom categories from default category
- How can I make the slug of the taxonomy also the slug of the custom post
- How do I display the grand child items of a taxonomy term?
- Top Level pages in wordpress giving 404, but child pages working fine
- Query posts with double taxonomy
- Get only used meta_values
- Main query not querying any posts in custom taxonomy template
- Return the name of the post type
- Set parent for custom post type archive rewrite url
- How to rewrite the beginning and end of the permalink structure in a custom post type?
- How do I update_post_meta() or add_post_meta() with an AJAX call
- Change Post Meta via AJAX from the posts list table
- How to create Custom image post?
- Weird issue where form field loses focus to previous form field even with JS disabled
- posts_per_page in custom WP_Query does not override “Reading” settings?
- How to make post title to appear after an image?
- Pagination on custom post type without plugin
- How can I check the rewrite slug of current post type listing page
- post_type incorrect for custom post type
- How to configure the output of breadcrumbled CPT UI
- how to create custom taxonomy drop downs for parents and child
- How to get the posts that my following users are liked?
- How to insert post 6 times after user register like ask.fm
- Not Able to List CPT Based on Taxonomy Term
- Insert custom post type via XML-RPC?
- CPT or Custom Table for Repository of Serial Numbers
- How to Fix Custom WordPress Loop with Pagination on Single Post View?
- Can’t open Custom Post Types Link in navigation
- Remove custom taxonomy ‘post-type’ from post URL
- Problem with a query in custom posts
- Custom post-type’s pagination not working in category.php
- Using custom post types within a section of a template
- Pulling in a particular post into a single page based on the post id passed into the code