Deprecate some unused functions
Updates #28354
Remove some unused code from events meta box
Updates #28354