Skip to content
EE Code Snippet Library
PHP Other
  1. PHP 99.2%
  2. Other 0.8%
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addons
admin add correct prefix in function name Dec 18, 2019
checkout Convert to use spaces. May 28, 2019
messages
models
mysql-queries Add additional note about this only affecting offsets for dates and t… Jul 26, 2017
payment-methods Add a function to add a 'Merchant account id' setting to the Braintre… May 11, 2018
shortcodes Add new shortcode for displaying today’s events Jan 17, 2019
templates
third-party-integration Update de_ee_fix_embedded_cpt_images_with_amazon_s3_cloudfront.php Mar 3, 2017
utility
widgets
LICENSE
README.md Update README.md Sep 24, 2018

README.md

EE Code Snippet Library

This is a community-maintained repository of code snippets that help modify the default behaviour of Event Espresso. This takes inspiration from the community library Easy Digital Downloads has. Much of the guidelines and organizational structure is also copied from Easy Digital Downloads because it's so awesome!

All snippets are organized into categories represented by folders and each snippet is placed in its own file with a name that describes what it does. We've also listed all of the snippets in a searchable spreadsheet: https://docs.google.com/spreadsheets/d/1-rkQrFaf_76yQ0OWGMVDS_u3uv78KPir6GFKhoYaLhI/

Submitting Your Snippet

Anyone is welcome and encouraged to submit their code snippets. To do so, please Fork the repository and then create a pull request.

Remember the following when creating a pull request:

  1. Each snippet should be placed in it's own file.
  2. Each file should be named appropriately based on the purpose of the snippet.
  3. Files should be placed in the appropriate folder (or category). If no appropriate folder exists, you may create one with your pull request.
  4. All functions and classes should be prefixed with your own unique prefix, preferrably one that contains your initials followed by _ee_. For example, de_ee_my_awesome_code_snippet.

Proposing a Snippet

If you aren't able to find a snippet to solve a problem you have, please open an issue and describe your need. While we do consider all incoming requests, we encourage community participation in meeting these requests as our priority is given to customers with support licenses.

Important

This is not a support portal, nor is it a tutorial resource. All code found in this library is provide as is, with no guarantee or promise of functionality. Due to the constant evolution of the EE codebase, it is possible that the behaviour of any of these snippets may change overtime. If you discover something that doesn't work, let us know

You can’t perform that action at this time.