This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Advanced Custom Fields Code Snippets


Generate code snippet examples for Advanced Custom Fields

This plugin currently supports:

  • Wysiwyg Editor
  • Text
  • Text Area
  • Number
  • Range
  • Email
  • Url
  • Password
  • Image
  • File
  • oEmbed
  • Gallery
  • Select
  • Radio Button
  • Button Group
  • True/False
  • Group
  • Repeater


Getting started is as easy as can be:

  1. Upload the plugin files to the /wp-content/plugins/acf-code-snippets directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Create or edit a form in Advanced Custom Fields
  4. Upon saving, you will see the generated code at the bottom of the page


Do I have to hit save to see the code snippets

Yes. You do not see the code snippets until after you’ve saved the fields


September 20, 2019
Does the job perfectly, I wish it would also generate the opening and closing php tags… it’s not a big deal though… Helps shortening dev. times.
Read all 1 review

Contributors & Developers

“Advanced Custom Fields Code Snippets” is open source software. The following people have contributed to this plugin.




  • Initial Version. Much more to come.= 1.0.0 =
  • Initial Version. Much more to come.