Insert Data into Database when Post is Published
-
Hi, I want to insert 2 values automatically into the WordPress Database when a post is publised.
The table is wp_data_article and I want two columns to be updated – user voters (in this case the value is one) and User Vote (in this case value is 9)
What can I put into functions.php to do this?
The topic ‘Insert Data into Database when Post is Published’ is closed to new replies.