Skip to content

Commit

Permalink
Feat: Add an action to signal processing co-author has finished
Browse files Browse the repository at this point in the history
  • Loading branch information
oekeur committed Jun 14, 2024
1 parent 1c29766 commit c90beec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/class-coauthors-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ public function add_coauthors( $post_id, $coauthors, $append = false, $query_typ
$wpdb->update( $wpdb->posts, array( 'post_author' => $new_author->ID ), array( 'ID' => $post_id ) );
clean_post_cache( $post_id );
}
do_action('coauthors_post_updated', $post_id, $coauthor_objects);
return true;

}
Expand Down

0 comments on commit c90beec

Please sign in to comment.