Getting author’s nickname as meta value
After review, I would expect your code to work properly: to only save the creating author’s nickname, and not override it later. Here’s some code to try with slight improvements and redundancies (tested): function data_nickname( $post_id, $post, $update ) { // If the post is being updated, bail. if ( $update ) { return; } … Read more