Bypassing data storage in core meta tables

By default, the plugin does not prevent storage of metadata to the core meta tables as doing so may introduce interoperability issues with other plugins that are dependent on metadata existing in the core meta tables. However, you may configure your site to bypass the core metatables where fields will store data in a custom […]

Phil Kurth Phil Kurth

Changing the table definition directory

The plugin will attempt to automatically generate a directory to house all related files when: An ACF Field Group is saved via the WordPress admin. The table generation on that field group is active. The possible locations for this directory are: If using ACF JSON, the acf-json/database-tables directory will be created. If no acf-json directory […]

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

Activating join tables on eligible fields

Join tables are available where required for eligible fields and can be activated using filters. The following fields are eligible for join tables: Relationship Post Object Page Link User Taxonomy Global activation It is possible to set a global setting that will enable join tables on all eligible fields. We don’t recommend this, as you […]

Disabling local field groups

By default, ACF Remote Sync will list all field groups for sync — this includes field groups registered via PHP or field groups loaded via ACF JSON. If you wish to prevent local field groups from remote sync, you may use the acfrs/rest/should_export_local_field_groups filter as per the example below. add_filter( ‘acfrs/rest/should_export_local_field_groups’, ‘__return_false’ ); You may […]

Phil Kurth Phil Kurth

Modifying field groups exposed via the REST API

You may override the field groups that render via the REST API by using the acfrs/rest/export_field_groups filter. This filter makes it possible to: Add field groups that are not already available. Remove field groups. Modify field groups and their fields in order to protect any data that should not be exposed. Examples You may use […]

Enabling ACF Custom Database Tables support

By default, ACF Remote Sync will remove any field group settings associated with ACF Custom Database Tables. If you are using ACF Custom Database Tables and wish to sync these settings, you may use the the acfrs/rest/should_export_acf_custom_database_table_settings filter as per the example below. add_filter( ‘acfrs/rest/should_export_acf_custom_database_table_settings’, ‘__return_true’ ); You may place this code in your theme’s […]

Activating support for a custom field type

If you are using custom ACF field types and wish to store their values in a custom database table, you need to register the field type as supported. You can do so using the following: * This will register a custom field type as supported by the plugin. * This affects table definition generation and […]

Hookturn Hookturn

Bypassing data storage in core meta tables

By default, the plugin does not bypass storage of metadata to the core meta tables as doing so can create issue with other plugins that are dependent on meta data existing in the core meta tables. However, you may configure your site to bypass core tables where data is stored in a custom database table. […]

Changing the table definition directory

The plugin will attempt to automatically generate a directory to house all related files when an ACF Field Group is saved and the table generation on that field group is active. The possible locations for this directory are: If using ACF JSON, the acf-json/database-tables directory will be created. If no acf-json directory is available, the plugin will […]

Disabling ACF 3rd party filters

For consistency, we pass the data through ACFs 3rd party extension filters. If you need to disable this, you can do so using the following: * Thes two lines will deactivate ACFs 3rd party filters on data that is passed * to or retreived from a custom database table. They will not disable the filters […]

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.