singular_name label in custom post type
The answer at that link is incorrect. The “Edit Animals” text from their answer uses the edit_item label, not singular_name. There’s a much longer list of labels that you’ll need to provide when registering a post type than just those two. The full list is kept here. As for singular_name, as far as I can … Read more