Implent A global OnClicked Event For all UMG buttons

Create a new widget, add just a button, build your intended OnClicked event code in this widget.
Now in every other new widget you create, scroll to the bottom of the content list to UserCreatedContent and your button will be there, simply drag and drop it anywhere in the widget like a regular button.