I want to know which hook/action is called just before the Text Widget content and title is stored in the database. I googled alot but could not able to get the hook name.
What I want is whenever a text widget save button is trigger (in admin panel) I want to apply my custom content customize function and the return the updated content so that WP can saves it.
Please Note: My question is not a duplicate of this question, because it deals with filter and I'm looking for hook or action. It can be a one solution but is not a good solution in my case, because it'll a time consuming.
For example: I have 10 active text widget in my sidebar and for every page hit on each widget render
widget_text will be called. So I'm looking for a better solution.
Any help would be greatly appreciated.