Cooked pork is safe to eat after 5 days as long as the cooked pork has been refrigerated.
If the cooked pork has been refrigerated for the 5 days then the cooked pork is safe to eat.
Cooked pork is usually good in the fridge for 7 days before it goes bad.
Raw pork lasts for 3 days in the fridge but cooking the pork makes it last a bit longer in the fridge.
You can also keep cooked pork frozen for up to a year before it goes bad.
As long as you smell the cooked pork and there's no mold on the cooked pork and it has been at least refrigerated for the 5 to 7 days then it's safe to eat.
The cooked pork may not be as tasty as it would when fresh but it's still safe to eat.
I've eaten cooked pork and other cooked meats including cooked chicken after it's been in the fridge for 7 days and nothing has happened to me.