Tell us what you are trying to do?
I created a Custom Post type using toolset for an experiment and it didn't achieve what i required.
So I deleted the Custom Post Type
Now attempting to use custom fields (repeatable) for the solution.
However as I try to add the new field with a slug same as the deleted post type, it says the slug is already used.
how can I deleted the clear the slug for the deleted CPT so i can reuse it?
Is there any documentation that you are following?
Thank you for the reply.
about 2 hours ago i created custom post type with slug 'business-hours', then decided it wasn't the way forward, and i deleted the custom post type.
I then tried creating Repeatable field 'Business Hours' and got the warning.
If i try to create CPT Business Hours again with the same slug, nothing happens.
I see where the slug is still inside the database, however it can be quite difficult to remove this from the array in the database without you first making a backup.
Secondly you can always give the custom field repeatable group a different slug by simply removing the s at the end of hours and this should work as well.
Not sure what happened as it should clean up the residue data in the database once the CPT is deleted.