| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | class DeleteCommentsQueryOverrider extends BaseQueryOverrider { |
||
| 11 | protected $field; |
||
| 12 | protected $value; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Parse the query and retrieve the values. |
||
| 16 | * |
||
| 17 | * @param array $query WP_Comment_Query arguments. |
||
| 18 | */ |
||
| 19 | public function parse_query( $query ) { |
||
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Modify the where clause. |
||
| 32 | * |
||
| 33 | * @param string $where (optional) Where clause. |
||
| 34 | * |
||
| 35 | * @return string Modified Where clause |
||
| 36 | */ |
||
| 37 | public function filter_where( $where = '' ) { |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Remove the `posts_where` filter. |
||
| 47 | */ |
||
| 48 | public function remove_where_filter() { |
||
| 52 |