CMB2 Code Snippet Library
This is a community-maintained repository of code snippets that help modify the default behavior of CMB2.
Snippets are organized into categories (folders) and each snippet is placed in its own file with a name that describes what it does.
Thank you to the EDD team for the inspiration for this library.
Submitting Your Snippet
We welcome and encourage everyone to submit their code snippets. If you would like to submit your snippet, please fork the repository and then create a pull request.
Please refer to the Contributing guidelines before submitting your pull request.
Proposing a Snippet
If there is a snippet you are unable to find and would like to propose get written, please open an issue and describe your need.
Notes
This is not a tutorial archive. Please see the CMB2 github repo wiki if you're looking for official documentation and tutorials.
These snippets come with no guarantees. Due to the constant evolution of the CMB2 codebase, it is possible that the behavior of these snippets may change overtime. Find something broken? Let us know!