antwork.fr/field-code-pro
Antwork Field Code Pro
Antwork Field Code shows, under each ACF or SCF field group, the escaped PHP that displays its fields in your theme. The Pro adds the field types and the places it leaves out: Repeater, Flexible Content, Gallery and Clone fields, and field groups shown on options pages, terms, users, comments, attachments and widgets.
Buy the Pro, $49 a year Before VAT ($58.80 with French VAT at 20%). Unlimited sites. Checkout by Freemius.
What the Pro adds
| In the free plugin | Added by the Pro |
|---|---|
| 29 field types, from Text to Icon Picker, Group fields included, at any depth | Repeater and Flexible Content, at any depth (a Repeater in a Group, in a Repeater…); Gallery, as an image array, URL or ID; Clone, displayed as a group or seamless, with or without prefixed names |
| Field groups shown on posts, pages and custom post types | Field groups shown on options pages, taxonomy terms, user forms, comments, attachments and widgets, with the identifier that get_field() needs in each place |
The code follows the same rules as the free plugin: one variable per field, a guard on empty values, every value escaped for where it is printed. A Repeater with a caption and a photo gives:
<?php $slides = get_field( 'slides' ); ?>
<?php if ( is_array( $slides ) && $slides ) : ?>
<?php foreach ( $slides as $slides_row ) : ?>
<?php $slides_row_caption = $slides_row['caption'] ?? null; ?>
<?php if ( is_scalar( $slides_row_caption ) && '' !== (string) $slides_row_caption ) : ?>
<p><?php echo esc_html( $slides_row_caption ); ?></p>
<?php endif; ?>
<?php $slides_row_photo = $slides_row['photo'] ?? null; ?>
<?php if ( $slides_row_photo ) : ?>
<?php echo wp_get_attachment_image( $slides_row_photo, 'full' ); ?>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
Requirements
- Antwork Field Code for ACF & SCF, the free plugin, installed and active: the Pro adds to it.
- Secure Custom Fields, or Advanced Custom Fields version 6. Repeater, Flexible Content, Gallery and Clone fields and options pages are features of ACF PRO; Secure Custom Fields includes them.
- WordPress 6.3 or later, PHP 7.4 or later.
Price
- price
- $49 a year before VAT, for unlimited sites, local and staging sites included. The VAT of your country is added at checkout, and the total is shown before you pay: $58.80 a year with French VAT at 20%.
- renewal
- Yearly, until you cancel from your Freemius account. Without a valid license, the Pro stays installed but adds nothing to the free plugin.
- refund
- A full refund within 30 days of the purchase if the Pro does not work on your site and we cannot fix it: write to contact@antwork.fr with what goes wrong. Try the free plugin first: the Pro adds to it and generates code the same way. Your statutory rights as a consumer are not affected, including the legal guarantee of conformity, which applies as long as the license runs.
- seller
- Freemius, Inc., 4023 Kennett Pike, Wilmington, DE 19807, United States, sells the Pro as a reseller: it takes the payment, issues the invoice, handles the taxes, and delivers the license and updates (Freemius terms). Antwork, Louis Rotellini EI, publishes the Pro and answers for it (legal notice).
Install
- Buy the Pro: Freemius emails your license key and a link to download the plugin.
- In WordPress, Plugins > Add New > Upload Plugin, then activate it, with the free plugin already active.
- On the Plugins screen, click Activate License under Antwork Field Code Pro and enter your key. The Field Code box of each field group then covers the fields and places of the Pro.
Privacy
The free plugin sends nothing. The Pro uses the Freemius SDK to activate and check its license and to deliver its updates.
- controller
- Louis Rotellini EI, trading as Antwork, 30 rue du Maréchal Foch, 59133 Camphin-en-Carembault, France, contact@antwork.fr. Freemius, Inc. processes the data on Antwork's behalf, under a data processing agreement.
- at purchase
- Your name, email, country, billing details and order, collected by Freemius at checkout. Card details stay with the payment provider; Antwork never sees them.
- at activation
- The site address, title and language, a site identifier, whether it is a local site, the versions of WordPress, PHP, the plugin and the Freemius SDK, the license key, and the name and email of the WordPress user who activates the license. The servers also receive the site's IP address with each request.
- afterwards
- Once a day, the site address, title and language, the same versions, and whether the plugin is active; activation, deactivation and uninstall events; and, if you fill it in, the optional form shown when you deactivate the plugin.
- why
- To sell you the license, activate it, check that it is valid and deliver the updates: the performance of the contract (GDPR, art. 6(1)(b)). Without this data, the license cannot be activated. Diagnostic data (site title and language, events) serves Antwork's legitimate interest in supporting the plugin (art. 6(1)(f)). Nothing is used for advertising, sold or shared with anyone else.
- where
- Freemius stores the data in the United States, under the European Commission's standard contractual clauses.
- how long
- As long as the license exists, then one year; invoices and orders as long as the law requires the seller to keep them.
- your rights
- Access, rectification, erasure, restriction, portability and objection, by writing to contact@antwork.fr; and a complaint to the CNIL (cnil.fr).
Freemius's own processing is described in its privacy policy. Questions about the free plugin go to its support forum.
Antwork Field Code and its Pro are independent plugins, not affiliated with or endorsed by Advanced Custom Fields or Secure Custom Fields.