Yes you can, either by code:
$demo = array('value1','value2','value3');
update_post_meta($post_id,'meta_key',$demo);
Or simply using the custom fields UI, add ass many values as you want one at a time and make sure they all have the same meta_key.
Related Posts:
- When using add_post_meta and update_post_meta, is there any way to give the individual arrays keys?
- Get specific custom field keys from a post and put into an array
- Run a check for multiple meta key values
- change order of images attached to post
- How do i output images from URL’s added to the same custom field key
- Build Array from Input Fields question
- Custom post meta field effect on the performance on the post
- Difference between meta keys with _ and without _ [duplicate]
- How to enable revisions for post meta data?
- Best way to programmatically remove a category/term from a post
- Can I query custom meta data through WP_Query
- Storing meta fields multiple times OR once with multi dimensional array?
- display specific custom fields
- passing argument to get_template_part() or a better way to code
- importing data from non-wordpress mysql db
- Create meta boxes that don’t show in custom fields
- Ordering posts by anniversary using only day and month
- How to use pagination with get_post_meta
- Copying Custom Meta Values from existing post to a duplicate post
- Saving an array in a single custom field
- Move value of one custom field to another
- Order posts according to user defined order for meta values?
- Displaying posts with only upcoming dates according their custom field date value
- Custom fields: In what order are they saved into the DB?
- Get a post_id where meta_value equals something in a serialized meta_value field
- How to save a ToggleControl value in a meta field?
- MySQL query to set wp_postmeta using term_taxonomy_id value
- How to Validate Post Meta type/extension (Video File Image File etc)
- Custom Meta Box not Saving in Posts with Gutenberg Editor
- How can I sort homepage by a meta value?
- WP Query Returning All Posts
- Passing Custom Field Data as Array to be Saved (Resulting Custom Field Array is inconsistent)
- How to wrap meta values seperated by comma in ? [closed]
- Bulk remove post meta
- How to create html block to display extra information on woocommerce single product page
- Create Multiple File Upload Metabox in WordPress
- filtering custom post types via meta data drop down
- If meta key exists in get posts function otherwise create it
- WordPress Rest API to call page data associate with custom meta
- How do I Implement Atomic Update of Post Metadata?
- Hide custom meta data if empty
- How do I have WP_Query match posts based on search parameter OR meta fields? (rather than search parameters AND meta fields)?
- Why is my Custom Meta Box Field Inputs NOT saving?
- Get registered custom fields or post meta even if empty
- Sort alphabetically by custom field
- shortcode in a custom metabox
- Can I access a post meta field before the loop?
- wrap text around custom fields array
- How can I modify RSS item titles to be either the title or a custom meta field?
- Avoiding ACF get_field and returning to core WordPress function
- Problem with saving large amount of data in postmeta/usermeta
- How to get posts with a metadata numeric key greater than X?
- Move Title and the Content WYSIWYG editor position
- How do i get the attached images with custom value checked?
- WordPress loop by meta key that is an array? and how loop multiple arrays
- Update post meta custom field using block editor
- Get custom fields without _edit_last, _edit_lock, _wp_page_template and _visual-subtitle
- Display posts with empty custom field
- Order a WP_Query by meta value where the value is an array
- query_posts with meta_value
- Why am I getting a “Call to member function format() on a non-object” error?
- If metabox has content display content
- Modify custom field from front end
- Footnotes in custom fields
- Create a new custom field for all posts based on current custom field
- Display Meta Data with HTML?
- wordpress get_post_meta / the_meta to output custom field value
- How to Convert Custom Fields from Text to Array?
- Custom Query: query by post custom meta data
- Group Posts By Custom Meta Value: Date
- Meta field bulk editing no longer working in WP 6.0 [closed]
- Custom Field: how to save array of multiple key-values in WordPress
- update_post_meta not working well
- Set class if a meta value is set within post archive
- How to add a post’s view count into the WordPress API response
- Adding Facebook’s image and meta description retrieval capabilities to a WordPress post
- Can’t set custom meta fields for a post
- Allow HTML in Custom Metabox area
- WP post meta – for loop inside for loop
- Custom field metabox not showing in back-end
- Save, update, get and sanitize post meta as HTML not plain
- Saved Post Meta Array Returns as String
- Query Multiple meta
- Should I store arrays in custom fields or create custom tables?
- Problem saving meta data
- Query postmeta values, and return multiple post_titles for common meta value
- When post is updated, custom metadata in text area field is overwritten
- change attachment custom field onChange event
- Media Attachment Custom Meta Fields not saving in Media Uploader when using jQuery UI Autocomplete
- Custom Field: Display only if a specific key is selected outside the loop
- When editing a post with a custom meta box the values aren’t displaying correctly
- add_post_meta insert null value into Database
- Make Custom Fields Public in JSON – API
- Retrieving custom field as shortcode
- Extract array from custom field
- Order by a meta field in query loop
- Custom fields: Split data from single custom field’s sub-array to separate custom fields when saving post
- How to add new Metadata options (Date, Author, etc.) for Posts?
- Saving multiple custom meta box fields
- Search for meta_query does not return any result if combined with title