Support

Account

Home Forums General Issues Custom Database Table

Helping

Custom Database Table

  • 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.

    • Elliot

    • February 26, 2014 at 10:39 am

    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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.