I am creating a plugin in Wordpress with a custom post type and custom fields. I have enabled the default Wordpress custom fields metabox for my post type, but I would like to customize some of the output:
- Limit the Custom Field Name select list to only include fields that have been added to my custom post type (Don't include custom fields added to other post types).
- Exclude custom fields added to only my custom post type from all other post types (Don't include them in the Custom Field Name select box for other post types).
- Change the Custom Fields metabox title ("Custom Fields"), label ("Add New Custom Field"), button ("Add Custom Field"), and description ("Custom fields can be used to add extra metadata...")
Basically, I am trying to leverage the Wordpress unlimited custom fields functionality for my custom post type, but I want to customize it to the needs of one specific custom post type.
Can this be done? (I do not want to use Advanced Custom Fields for this.)