Documentation

ACF Custom Database Tables v1.1

Heads up! You're browsing the documentation for a future version of the plugin. Consider checking out the current released version.

Globally activate sub tables

It is possible to set a global setting that will enable sub tables on all eligible fields. At the time of writing, the only fields eligible for sub tables are repeaters.

We don’t recommend this as you will have a very large number of database tables but, if you need to, you can use the following:

<?php
// This will enable sub tables on all eligible fields globally. This affects
// table definition generation and can go in your functions.php file or a plugin.
add_filter( 'acfcdt/settings/enable_sub_tables_globally', '__return_true' );

Spot an issue? Please let us know about it.

Good dev stuff, delivered.

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

We never share your data. Read our Privacy Policy

© 2021 Hookturn Digital. All rights reserved.