Last active
February 20, 2018 19:19
-
-
Save mishterk/6c0f0bcf877eb12bc7837039f942c1eb to your computer and use it in GitHub Desktop.
ACF Custom Database Tables plugin: Bypassing core meta tables example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This will prevent data from being stored in WordPress' core meta tables where a custom database table has been set up instead. | |
* This will not affect meta data that does not have a custom database table – that meta data will be stored as usual. | |
*/ | |
add_filter('acfcdt/settings/bypass_post_meta_table', '__return_true'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment