To hide a custom field from the “Custom Fields” section, prefix it with an underscore. So add_post_meta($id, 'name', 'value');
becomes add_post_meta($id, '_name', 'value');
.
Here’s a good reference for backup:
To hide a custom field from the “Custom Fields” section, prefix it with an underscore. So add_post_meta($id, 'name', 'value');
becomes add_post_meta($id, '_name', 'value');
.
Here’s a good reference for backup: