1 Answers
A:
To call a hook in services in Strapi, follow the steps given below:
./api/[your-api]/services/[your-service].js
config/hook.js , if it's a custom one Restart the Strapi server for the hook to take effect.
Strapi
StrapiDisclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers