Triggers functions when restoring from the Recycle Bin

Triggers functions when restoring from the Recycle Bin

Hello,

Would you please tell me how to execute the function when I restore the data from Recycle Bin?