| @@ -568,8 +568,9 @@ | ||
| 568 | 568 | foreach ( $automation_flows as $key => $automation_flow ) { |
| 569 | 569 | $existing_flow = get_posts( |
| 570 | 570 | array( |
| 571 | 571 | 'post_type' => $post_type, |
| 572 | + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query -- Meta query is necessary for filtering appointments by meta fields | |
| 572 | 573 | 'meta_query' => array( |
| 573 | 574 | array( |
| 574 | 575 | 'key' => '_bt_notification_flow_trigger', |
| 575 | 576 | 'value' => $automation_flow['trigger'], |