What are the limitations of wp_update_post()?

You are correct; WordPress will not update custom database columns using wp_update_post() or wp_insert_post(). Instead of creating custom database columns, consider using post meta and/or taxonomy APIs.

If you must altar the wp_posts table, you will need to update your custom columns on your own and you may run into issues with various other plugins who don’t take the custom database columns into account.

Leave a Comment