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?
I’m trying to achieve this without editing any wp core files. Perhaps a function if possible.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Adding data to table (database)’ is closed to new replies.