I’m working on a wordpress website for a bookstore. Is there a way for the data to go directly to a custom database table instead of wp_postmeta? For example:
1) I have a custom database table called “BookList” and it has a column called “BookTitle”
2) I enter a book title in a custom field called “Book Title”
2) Upon publishing the post, the content I typed in the Book Title custom field will be uploaded to the BookTitle column in the BookList BookList database table instead of wp_postmeta.
Hi @opelinchangco
Sorry, ACF will only save / load from the wp_postmeta table.
If you wish, you could hook into the update_value and load_value filter to modify where the data goes / comes from.
Thanks
E
Hi
You should have al lyou need with this
https://hookturn.io/downloads/acf-custom-database-tables/
not cheap but a good solution
@eduardo-marcolino
You should consider renaming your plugin to Custom Database Table for ACF Fields.
When I first saw this I thought it was an HTML table.