original_string: public static function removeAbandonedPosts() {
      $sub_posts = \SubPost::getWhere(array('post_parent' => 0));
      foreach($sub_posts as $sp) {
        wp_delete_post($sp->ID, true);
      }
    }
code: public static function removeAbandonedPosts() {
      $sub_posts = \SubPost::getWhere(array('post_parent' => 0));
      foreach($sub_posts as $sp) {
        wp_delete_post($sp->ID, true);
      }
    }
code_tokens: public static function removeAbandonedPosts ( ) { $ sub_posts = \ SubPost :: getWhere ( array ( 'post_parent' => 0 ) ) ; foreach ( $ sub_posts as $ sp ) { wp_delete_post ( $ sp -> ID , true ) ; } }
docstring: without hitting the publish or update button
docstring_tokens: without hitting the publish or update button