Add no_found_rows to query

This commit is contained in:
Tetrakern 2023-08-03 04:18:55 +02:00
parent eb5196c07d
commit 35f88121c3

View File

@ -882,7 +882,8 @@ if ( ! function_exists( 'fictioneer_get_chapter_list_items' ) ) {
'post_type' => 'fcn_chapter',
'orderby' => 'post__in',
'posts_per_page' => -1,
'update_post_term_cache' => false
'update_post_term_cache' => false,
'no_found_rows' => true
);
$chapters = new WP_Query( $query_args );