Updating Discourse Plugins, taking the first step

Ah, thanks for the clarification. You can actually use api.attachWidgetAction to overwrite a widget’s action too:

api.attachWidgetAction('post-menu', 'like', () => {
  console.log('new like code goes here');
});
6 Likes