Advertisement
BakerMan

Mass event author edit (using SQL)

Aug 31st, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.14 KB | None | 0 0
  1. -- Where 5 is the ID of the user you wish to set all tribe events to
  2. UPDATE `wp_posts` SET `post_author` = '5' WHERE `post_type` = 'tribe_events';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement