WordPress adding data to table (database)

I have a custom table in my WordPress database named “post_votes” used for voting posts.

Whenever I publish a new post can I simultaneously add some data to that table as well?

Read More

I’m trying to achieve this without editing any wp core files. Perhaps a function if possible.

Related posts

Leave a Reply

1 comment