scribu/wp-posts-to-posts — Issue #33: Delete connections when post changes
Author: scribu
Created: 2011-10-21 17:51:57+00:00
State: open

Scenario:

```
p2p_register_connection_type( array(
'id' => 'landing2page',
'from' => 'page',
'from_query_vars' => array(
'meta_key' => '_wp_page_template',
'meta_value' => 'template-landing-list.php'
),
'to' => 'post',
) );
```

I'm wondering if it's feasible to attempt to delete connections which would become unnaccessible when you change a page's template.