The closest Thing in WordPress would be a custom meta box with repeatable fields.
So to do that you would need create a a metabox using add_meta_box and if you look at this link you will also see an example of saving the custom fields in your meta box.
here is an example on a related question or if you want a much better option is to use a ready made class which will let you do just that with a few OOP settings.
Related Posts:
- Filter by custom field in custom post type on admin page
- Admin Post Update Redirection to Posts Screen
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- How to customize admin posts based on the user who is logged in
- How can I create a custom meta box to add an mp4 video to a page?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- How to export custom post type with ACF to individual file with automation?
- Function to add custom HTML into head in custom post-type list page
- Custom Post Type and Structure Question
- Adding specific custom fields (images) to post excerpt
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- save_post affect creation and deletion
- Advanced Custom Fields – Add Field to Specific Page [closed]
- Custom post type adding additional markup
- How to set a default format for a custom post type?
- WordPress Custom Post Types with a page as a parent?
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- Exclude add_filter from the admin
- Delete all the custom post types when deleting user
- Correct way to use a form to to filter custom posts by taxonomy terms?
- Showing current taxonomy terms
- White screen error for a custom theme
- automatically create taxonomy with same name as post title
- How can I remove categories in menu in custom post type?
- Search results ordered by custom post types are not grouped
- saving custom post type data to different table in wordpress
- Query post types with multiple keys
- Remove POST_TYPE from custom post type permalink
- Adding help information to custom post edit page
- How can I add a column in the wp_list_table of the admin area?
- Get all posts WHERE custom_field is LIKE value
- Show ACF field from custom taxonomy and display on the single template
- Show custom field from custom taxanomy term on custom post type
- How does the $post_type global variable work?
- Custom Post type with ACF in REST API, how do I get those values?
- Delete link on single-custom.php with redirection
- Getting rid of /my_custom_post_type/ in the single view URL
- Custom Post Type – List all attachments on Edit Screen
- Custom Page that comes with preloaded content for the user
- will post_id ever change? Can I safely use post_id for custom queries?
- A simple script to allow sorting of custom posts in admin?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Options page – dropdown of users
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- No Permission to add new Page, Post or CPT with Admin role
- Update postmeta Parent when post_status child change
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- How to produce a sub-page-system in WordPress
- don’t publish custom post type post if a meta data field isn’t valid
- WebP Fallback for Inline Background Image in Style Attribute
- Detect inside a custom query the kind of post type to assign custom classes
- How do you make a custom post type items automatically delete items 3 months after publication?
- custom post data – how to
- Recoverable Fatal Error – Object of class WP_Post could not be converted to string
- How to group navigation items in the admin panel
- How can I add a shortcode to query Custom Post Type with ACF in WordPress?
- ACF for custom post type archive pages: which hook to use?
- How to Create a Separate Page for Blog Posts in WordPress
- Advanced custom fields Post Object image field not displaying in custom post type single.php
- Sum and count of custom field values
- Add custom columns in custom post type browse page
- get_post_types not working properly in admin
- How to hide a custom field from admin?
- Get terms for a specfic post from multiple taxonomies in custom post type
- cannot achieve this structure (custom posts VS categories VS ??)
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- SQL query – get ids – Advanced Custom Fields / WPeC
- how to use custom post types collectively integrated with each other
- Why doesnt my tag page populate with this custom post type?
- Home page is getting current-menu-item even if it’s not home
- How to set a ‘page’ as parent of a custom post type?
- Create API’s for custom-post types & custom queries using REST or Graphql
- custom post type and user post count shortcode
- Query posts by current ACF meta key value on single page as related posts
- Permalink URL connection between two custom types
- CPT: multiple loops with different terms
- Autofill advanced custom field with user data
- Advanced search form with multiple custom fields
- Stored meta from attachment, video length?
- Custom post type option page template
- Delete all custom posts then upload a new CSV of events
- How to get a custom post type archive paged when using a custom field for post sorting?
- WordPress query posts by custom post type not workng
- Can’t pick up a field created with Advanced Custom Fields
- Static front page has page url not site url
- Admin menu post type
- Get data from custom post type to another custom post type?
- Using get_terms() as shortcode attribute
- If you’re calling a dynamic css inline style does that div have to be in the loop?
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- Copying custom field value in to title
- How to show animal lineage/pedigree in WordPress?
- Custom Post Type Loop breaking php
- Styling first post using Advanced Custom Fields
- Prevent users from changing post status
- ACF Relationship: Group posts by parent category term, then child [closed]
- ACF Field to set Publish Date – Post Duplication upon Update
- Getting ACF relationship field information
- Post object GUID adding http:/