Custom fields in WordPress are used to provide additional information to a custom post type or page.
They are widely used to store important data by WordPress plugins and themes. You may also add custom fields to store your own data, which you can later use on your website.
What exactly is metadata?
When you create a new post, page, or another kind of content in WordPress, it is saved in two places. The first section is the post’s actual content, which you enter using the post editor.
The second section contains post-specific information. This contains the title, author, as well as date and time of publication. This data is referred to as metadata.
Custom fields are a sort of metadata that allows you to add more information to your posts and pages. The information isn’t in the post itself, but it does offer information about the post.