Skip to content

Commit

Permalink
make sure we're deleting all the posts we need to be
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Sep 12, 2024
1 parent d198c46 commit 9e50be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'meta_key' => 'lf_event_bevy_import',
'meta_value' => true,
'no_found_rows' => true,
'posts_per_page' => 500,
'posts_per_page' => -1,
'post_status' => 'any',
);
$the_query = new WP_Query( $args );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
array(
'post_type' => 'lf_ktp',
'post__not_in' => $synced_ids,
'posts_per_page' => -1,
)
);
while ( $query->have_posts() ) {
Expand Down

0 comments on commit 9e50be1

Please sign in to comment.