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');
});
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');
});