This is an example feature plugin package for CoCart. It is setup so that it can be installed as a standalone WordPress plugin, or included into CoCart as a Composer Package.
cocart-example-package.php- The main plugin file. ONLY used when using this package as a plugin!load-package.php- Same as the main plugin file but without the plugin header. Used when installed into CoCart as a package with composer. See guide for instructions.includes/class-cocart-example-package.php- The package class requires 1 static method;init- Init your package. If it needs to hook into WordPress, do so here.
Released under GNU General Public License v3.0.
We have different channels at your disposal where you can find information about the CoCart project, discuss it and get involved:
- 📖 Documentation: this is the place to learn how to use CoCart API. Get started!
- 👪 Community: use our Discord chat room to share any doubts, feedback and meet great people. This is your place too to share how are you planning to use CoCart!
- 🐞 GitHub: we use GitHub for bugs and pull requests, doubts are solved with the community.
- 🐦 Social media: a more informal place to interact with CoCart users, reach out to us on X/Twitter.
Website cocartapi.com · GitHub @co-cart · X/Twitter @cocartapi Facebook · Instagram
