Skip to content

Instantly share code, notes, and snippets.

@mishterk
Last active February 20, 2018 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mishterk/6c0f0bcf877eb12bc7837039f942c1eb to your computer and use it in GitHub Desktop.
Save mishterk/6c0f0bcf877eb12bc7837039f942c1eb to your computer and use it in GitHub Desktop.
ACF Custom Database Tables plugin: Bypassing core meta tables example.
<?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