Customizing how the form renders

Advanced Forms offers a vast array of options, hooks, and filters for customizing how a form renders. During development, if you need a quick visual reference for where action hooks sit within a form, you may use the following snippet. This will render markup on the front end that shows the name of each hook […]

Phil Kurth Phil Kurth

Creating and editing users

Pro Feature This functionality is only available in the pro version of the plugin. For access to all features, upgrade to Advanced Forms Pro. Creating and editing users directly from the front end of your WordPress site can be a powerful feature. This functionality can be used in various scenarios, such as: Allowing users to […]

Phil Kurth Phil Kurth

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

Working with repeaters

Dynamically set maximum allowed rows on a repeater field on form render https://hookturn.freshdesk.com/a/solutions/articles/44002387972 How append new rows to an existing repeater field https://hookturn.freshdesk.com/a/solutions/articles/44002393546

Phil Kurth Phil Kurth

Prefilling form fields

You may choose to prefill form fields on form render using a variety of methods. Available methods Shortcode argument Due to the potential complexity of field values and shortcodes lacking support for complex data structures, it is not currently possible to prefill values via the shortcode. Instead, it is best to use the advanced_form() function […]

Creating and editing posts

Pro Feature This functionality is only available in the pro version of the plugin. For access to all features, upgrade to Advanced Forms Pro. A very common use case for ACF forms on the front end is to allow users to create and edit posts. Some examples of this include: User submitted blog posts Allowing […]

Registering forms programmatically

You may choose to register your forms programmatically rather than using the admin interface. This is useful if you want to create forms dynamically, or if you want to embed forms into the project via a theme or plugin. Doing so also provides the benefit of being able to version control your forms. To create […]

Customizing request authentication

API keys are tokenised with each request using a time-based tokenisation algorithm. This ensures that the API key is only valid for a maximum of two minutes (using UTC times). API tokens are sent via the X-ACF-Remote-Sync-Token request header. Changing the request header name You may change the request header if you wish using the […]

Phil Kurth Phil Kurth

Working with repeater fields

By default, the plugin ignores repeater fields allowing their data to pass through to ACF for storage in core metatables. This is to maintain consistency after updating to version 1.1. You may enable repeater support using either the plugin’s settings panel, or a WordPress filter and then further configure the plugin — using WordPress filters […]

Phil Kurth Phil Kurth

Removing support for fields

You can remove fields from the supported field list, if you need to. When doing so, you have the ACF field array to evaluate, so you have a good degree of flexibility: * Removing fields from the ‘supported fields’ list. This affects table definition * generation and can go in your functions.php file or a […]

Running custom actions after a table is updated or created

As of version 1.1, it is possible to run custom handlers during the table update process. The ability to run processes right after schema update opens up a number of possibilities including: Custom index creation. Custom logging/notification. Custom data migration handlers. Table field format modifications that might not be possible due to limitations in WordPress’ […]

1 2 3 4

Good dev stuff, delivered.

Product news, tips, and other cool things we make.

We never share your data. Read our Privacy Policy

© 2016 – 2024 Hookturn Digital. All rights reserved.