Title: programatically remove all connections
Last modified: August 21, 2016

---

# programatically remove all connections

 *  [MB MB](https://wordpress.org/support/users/mikkelbreum/)
 * (@mikkelbreum)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/programatically-remove-all-connections/)
 * I need to programatically remove all existing connections from a post.
    Is there
   a simple way, without having to loop through all connections removing them one
   by one?
 * [http://wordpress.org/plugins/posts-to-posts/](http://wordpress.org/plugins/posts-to-posts/)

The topic ‘programatically remove all connections’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [MB MB](https://wordpress.org/support/users/mikkelbreum/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/programatically-remove-all-connections/)
 * Status: not resolved