Black Friday/Cyber Monday Sale — ends 2nd December!

25% off all new licenses / 50% off all extensions & renewals

Documentation

ACF Custom Database Tables v1.1

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

© 2016 – 2022 Hookturn Digital. All rights reserved.