Terms of Use

Code Disclaimer

snippet.farm is interested in cultivating a curated collection of quality code snippets for the WordPress ecosystem. Though the code snippets highlighted on this site have been tested in a limited environment at the time of publishing, there is still the potential you may encounter errors. snippet.farm will not be held liable for damages or losses due to the use of code snippets found on this site.

Usage Requirements

Be sure to @replace any string (@str), array (@arr), integer (@int), or boolean (@bool) that may need to be customized in the code snippet prior to use. Many code snippets on this site make use of anonymous functions and, thus, require use of at least PHP 5.4.

Affiliate Disclosure

In addition to providing quality code snippets for WordPress and related plugins and themes, the Snippet.Farm also provides links to products and services used and trusted by Typewheel. When clicking on these “affiliate links” and purchasing or subscribing to a recommended item, Typewheel will receive an affiliate commission. This is disclosed in accordance with the Federal Trade Commission’s 16 CFR, Part 255: “Guides Concerning the Use of Endorsements and Testimonials in Advertising.”

List of Affiliate Links