Skip to content

Example package for a CoCart feature plugin that can also be installed as a standalone WordPress plugin.

Notifications You must be signed in to change notification settings

cocart-headless/cocart-example-package

Repository files navigation

CoCart Example Package

CoCart Logo


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.

Main directories and files

  • 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.

License

Released under GNU General Public License v3.0.


CoCart Channels

We have different channels at your disposal where you can find information about the CoCart project, discuss it and get involved:

Twitter: cocartapi CoCart GitHub Stars

  • 📖 Docs: this is the place to learn how to use CoCart API. Get started!
  • 🧰 Resources: this is the hub of all CoCart resources to help you build a headless store. Get resources!
  • 👪 Community: use our Slack 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 Twitter.
  • 💌 Newsletter: do you want to receive the latest plugin updates and news? Subscribe here.

Credits

CoCart Example Package is developed and maintained by Sébastien Dumont.

Founder of CoCart - Sébastien Dumont.


Website sebastiendumont.com  ·  GitHub @seb86  ·  Twitter @sebd86

About

Example package for a CoCart feature plugin that can also be installed as a standalone WordPress plugin.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published