Wordpress: How to make unique field with ACF and custom post type
问题 So I'm working on a custom post type to work together with Advanced custom fields. And I have this little script that is supposed to block duplicate emails from being entered. But the script does not work as I want it to. The code that u see below is for the custom post type page that I've linked to ACF. function init_members() { $labels = array( 'name' => 'Members', 'singular_name' => 'Member', 'menu_name' => 'Members', 'name_admin_bar' => 'Member', 'add_new' => 'New member', 'add_new_item'