@PitaJ said in How to call API from client side.:
require(['api', 'translator'], (api, translator) => {
// Your code here
});
genius! and fast reply!
I see that in the list of hooks (https://github.com/NodeBB/NodeBB/wiki/Hooks) there is a division into hooks of server side and client side. what is the meaning of this? Can't use server hook in standard script I put in ACP? And if I enter the code in such an extension: https://github.com/NodeBB/nodebb-plugin-quickstart will it work? Thanks.
@baris