Description
When ACF fields need to become template code, the ACF Theme Code Pro add-on generates PHP snippets inside the Theme Code section, right below the Field Group settings, with automatically updated variables, escaping, and support for return types. It helps anyone building WordPress themes with custom fields copy consistent blocks into templates, including free fields, ACF Pro fields, third-party fields, location rules, ACF blocks, and options pages.
Main Features of ACF Theme Code Pro
- Theme Code section
Displays PHP snippets below each Field Group’s settings. - Clipboard copy
Includes icons to copy code blocks directly into the theme. - Automatic variables
Updates field names and variables according to the saved configuration. - Escaping in code
Generates examples based on the official Advanced Custom Fields documentation. - Location registration
Creates code for ACF Blocks and ACF Options Pages.
Benefits of ACF Theme Code Pro
- Less manual lookups
Reduces repeated searches in the documentation while creating templates. - More consistent code
Keeps similar output patterns across fields, groups, and layouts. - Faster workflow
Shortens the path between configuring fields and rendering data in the theme. - Better predictability
Helps handle simple, multiple, and relational return types clearly.
Who Is ACF Theme Code Pro For?
- Anyone building custom WordPress themes who needs to render ACF fields in PHP files.
- You who work with repeater, flexible content, gallery, relationship, and other fields with varied return types.
- Teams that standardize templates with ACF Blocks, options pages, and specific location rules.
How to Download ACF Theme Code Pro
ACF Theme Code Pro is available for download here at Ultrapack. After downloading the .zip file, go to Plugins > Add New > Upload Plugin, select the package, and activate it on WordPress. Keep Advanced Custom Fields active to use snippet generation.
In an ACF development routine, the ACF Theme Code Pro add-on works as a practical reference layer inside the dashboard itself, reducing the distance between configuring fields and writing the template. For those building custom themes, the gain lies in turning Field Groups, location rules, and return types into copyable PHP code, keeping the process more predictable and documented.
Frequently asked questions
Is Hookturn | ACF Theme Code Pro GPL-licensed?
Yes. Hookturn | ACF Theme Code Pro is distributed under the GPL (GNU General Public License). You may legally use, modify and redistribute it on as many sites as you want.
Can I use Hookturn | ACF Theme Code Pro on multiple sites?
Yes. You can install Hookturn | ACF Theme Code Pro on as many sites as you want. Only automatic updates through Ultrapack Auto Updater have a limit: from 3 to 80 sites, depending on the plan.
How much does Hookturn | ACF Theme Code Pro cost at Ultrapack?
Hookturn | ACF Theme Code Pro costs US$2.99 as a single purchase, and it is also included in the subscription plans starting at US$12/mo (VIP I).
Does Hookturn | ACF Theme Code Pro include updates?
Yes. The current version of Hookturn | ACF Theme Code Pro is 2.5.6, published at Ultrapack on Oct 19, 2023. Subscribers update straight from the WordPress dashboard with UAU (Ultrapack Auto Updater).
Is Hookturn | ACF Theme Code Pro scanned before publication?
Yes. Every version of Hookturn | ACF Theme Code Pro goes through a malware scan (ClamAV and YARA rules, at UltraHub) before it is published.
What are the requirements for the plugin Hookturn | ACF Theme Code Pro?
Requires WordPress 4.8.0 or higher. Tested up to WordPress 6.3.
What changed in this version
Version 2.5.6
- Add support for PHP 8.2
- Fix Gallery field
- Fix Link field
- Fix copy code buttons
- Fix ACF 6+ styles
- Update metabox icon
- Update notices
Version 2.5.5
- Add new stylesheet to integrate all components with ACF 6
- Update location registration tool UI to integrate with ACF 6
- Update scroll to code functionality to support ACF 6
Version 2.5.4
- Add support for ACF 6
- Add Polish translation thanks to Michal Lepiarz
- Add Dutch translation thanks to Peter Smits
- Add Chinese (Taiwan) translation thanks to RedBazil
- Add German translation thanks to Christian Kappmeyer
- Fix JS and CSS enqueuing bug on Tools page
Version 2.5.3
- Add full support for localization (i18n)
- Please let us know if you're interested in helping translate ACF Theme Code Pro into your language
- Improve enqueuing of CSS and JS
- Fix notice that occurs when Location is set to an unregistered block type
Version 2.5.2
- Add support for the following third party fields
- ACF Field For Contact Form 7
- Advanced Custom Field: Audio/Video Player
- Improve code rendered for the following third party fields
- Advanced Custom Fields: Gravityforms Add-on (including displaying forms, support for Object and ID return types and Single and Multiple values)
- Advanced Custom Fields: Ninjaforms Add-on (including displaying forms, support for Object and ID return types and Single and Multiple values)
- TablePress (including support for ID and HTML return types)
- Table (including caption support and escaping)
- ACF Icon Selector Field (including escaping)
- ACF Smart Button (including escaping)
- Advanced Custom Fields: RGBA Color Field (including escaping)
- Update support for the following third party fields
- Advanced Custom Fields: Font Awesome Field
- Custom Fields: Nav Menu Field
- ACF Code Field
- Advanced Custom Fields: SVG Icon
- ACF YouTube Picker Field
- ACF Address Field
- Post Type Select Field for Advanced Custom Fields
- Advanced Custom Fields: Number Slider
- ACF Color Palette Field
- ACF Color Swatches
- Remove support for the following third party fields that no longer support the latest version of WordPress or ACF
- ACF qTranslate
- Advanced Custom Fields: Image Crop
- Advanced Custom Fields: Markdown Field
- Advanced Custom Fields: Link Picker Field
- ACF: Google Font Selector
- ACF: Focal Point
- Ignore `page` field used by Advanced Forms Pro for ACF for multi step forms
Release notes published by the developer.
How to install
Automatic updates: this item is updated by the Ultrapack Auto Updater. With it installed, the new version shows up in your dashboard like any other WordPress update (how to set it up).
- Download the file
acf-theme-code-pro.zip. - In the WordPress dashboard, go to Plugins > Add New > Upload Plugin.
- Select the file
acf-theme-code-pro.zipand click Install Now. - Click Activate.
Requirements: Requires WordPress 4.8.0 or higher. Tested up to WordPress 6.3.
Stuck on a step? Open a ticket telling us which one you stopped at.

UAU Ready