getWidgetPostAPIMediator

abstract fun getWidgetPostAPIMediator(): WidgetPostAPIMediator

Returns a new instance of WidgetPostAPIMediator. Be careful to call clearWebView method and setHandler to null to avoid memory leaks. This is to be used for "admin" widgets so you can interact through JS.