| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 49 | public function delete_all() { |
||
| 50 | |||
| 51 | // Delete URIs associated with posts/entities. |
||
| 52 | $this->wpdb->delete( $this->wpdb->postmeta, array( 'meta_key' => 'entity_url' ) ); |
||
| 53 | |||
| 54 | // Delete URIs associated with authors. |
||
| 55 | $this->wpdb->delete( $this->wpdb->usermeta, array( 'meta_key' => '_wl_uri' ) ); |
||
| 56 | |||
| 57 | } |
||
| 58 | |||
| 60 |