Update user meta when post published no working
The above function looks fine, and I tested it just to be sure. It may be that you don’t like what you’re getting. It adds user meta to the particular author with key Points and value 100, like so: [Points] => Array ( [0] => 100 ) On the second publish, it will produce the … Read more