function adminUpdateCampaignPosts($id, $properties)
 {
     global $wpdb;
     $posts = $this->getCampaignPosts($id);
     foreach ($posts as $post) {
         $wpdb->query(WPOTools::updateQuery($wpdb->posts, $properties, "ID = {$post->id}"));
     }
 }