Hello Naveen,
I have tested your approach.
Yes, by inserting the filter in functions.php I can insert the predefined field “Business hours” several times in a post type (I am already satisfied with two times).
I name the field identifier then e.g. business_hours_2
If I want to create a new entry now, we will also display the two fields in the backend when we create it, but I cannot change anything for the first business hours (with the original field identifier (business_hours), the popup for setting hours and minutes does not appear. Even if I activate the field with “Yes”, then save the entry, this is set to “No” again and is therefore not activated.
With the second additionally added field everything works.
Here is a link to a video with a short screenshot.
https://we.tl/t-mfILdbABoP
Thanks for the help, maybe you can help me here. The solution would be to have the field “Business Hours” twice in one entry.