Code snippet library for all WebberZone plugins
This is a community-maintained repository of code snippets to help modify the default behaviour of the various plugins developed by WebberZone.
These are not add-on plugins as they would sit in their own repository.
Each plugin developed by WebberZone has a separate folder which contains its own set of sub-folders (categories). Each of these categories contain their set of snippets. Each snippet is placed in its own file with a name that describes what it does.
Snippets have been either designed as WordPress plugins or as standalone functions. For snippets set up as WordPress plugins please follow the below instructions:
* Plugin Name:
in the file commentFor files that aren’t set up as plugins (i.e. standalone functions), follow steps 1, 2 and 3 above and then copy and paste the code into your theme or child theme’s functions.php or inside a custom functionality or Must Use plugin (wp-content/mu-plugins
folder).
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.
You can also modify existing snippets in this way if you’d like to make them better.
Please refer to the Contributing guidelines before submitting your pull request.
These snippets come with no guarantees. As the code base of the plugins change, it might be possible that some snippets will be outdated. Find something broken? Let us know!