What has changed in version 1.1

Version 1.1 is a much larger release than expected as the time since releasing version 1.0.5 has been significant, allowing the scope to creep on this version. There is a fair bit to observe here, particularly for anyone who is using the plugin with their own customisation layer in place. Aside from repeater field support, […]

Phil Kurth Phil Kurth

Rebuilding the map system

The map system is an essential aspect of the ACF Custom Database Tables plugin as it determines which table and column a field’s data should be stored in and retrieved from. Without the table map, the plugin is unable to correctly route field data in/out of custom database tables. What is the map system? The […]

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

WP All Import compatibility

As of version 1.1.0, it’s possible to use WP All Import in conjunction with ACF Custom Database Tables to import data into custom database tables. This has been tested using all supported fields — including repeaters — and is working when importing both user and post objects. All table formats — including sub (repeater) tables […]

Admin Columns Pro compatibility

After some simple tests, we found that the Admin Columns Pro plugin can be used in conjunction with data handled by ACF Custom Database Tables with some caveats to be aware of. Displaying and inline-editing field values works fine. Filtering and sorting, however, is currently not possible due to the internal mechanisms that drive this […]

Using hyphens in field names

The plugin will support the use of hyphens — e.g; my-field — in ACF field names but be mindful that the hyphen will be replaced by an underscore in the database table column name. Accessing the field values via ACFs API functions You may continue to use ACFs API functions using the field name exactly […]

Configuration via code

There are many possibilities for configuration via PHP code as demonstrated through these documents. Given the nature of database configuration code, the ideal place to place any related configuration code would be a custom configuration plugin. Code maintained in a plugin will persist across theme changes which is, in most cases, what you want. An […]

Introduction

What is this plugin? The ACF Custom Database Tables plugin is an extension for the Advanced Custom Fields plugin. The extension makes it possible for developers to generate custom database tables that map to ACF Field Groups where each field represents a column. This approach provides the option to store key entity (post, user, custom […]

FAQs

Does this plugin work with user data? Yes. Custom database tables can be defined for field groups that have a User Form in their location settings. Can I use this plugin for custom post types? Absolutely. Whilst the plugin supports the built in types of post and page, it is ideally suited for storing custom […]

Creating your first table

Table creation/modification is a two part process: First, we need to generate (or update) the field group’s table definition JSON file. Then, we need to apply the definition to the database in order to create new tables or modify existing ones. To generate the definition file: Head to the field group you wish to create […]

Installing & activating the plugin

Download the plugin zip file from your Hookturn account page. Head to the plugins area of your website – WP Admin > Plugins > Add New – and upload the file. Activate the plugin. Enabling ACF JSON Whilst not a requirement, we highly recommend you consider enabling ACF Local JSON before creating any tables. ACF […]

1 2 3

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.