Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 986 Bytes

CONTRIBUTING.md

File metadata and controls

15 lines (10 loc) · 986 Bytes

Contribute To Meta Box Code Snippet Library

The Meta Box code snippet library is a community-maintained repository and so contributions are always welcome.

Submitting a Snippet

To submit a code library for inclusion in the library, please fork the repository and then submit a pull request.

Guidelines for submission:

  • Each snippet should be placed in it's own file.
  • Each file should be named appropriately based on the purpose of the snippet.
  • Files should be placed in the appropriate category (folder). If no category exists, you may create one with your pull request.
  • All functions and classes should be prefixed with your own unique prefix, preferrably one that contains your initials followed by _mb_. For example: rw_mb_{function name here}.
  • (Optional) Add WordPress plugin headers to allow others to use your snippet as a plugin.