facetwp ignore query by posts_per_page

djrmom

{{gist file=”custom-hooks.php” lang=”php”}}
$query->get( ‘posts_per_page’, 0 ) ) {
$is_main_query = false;
}
return $is_main_query;
}, 10, 2 );
{{/gist}}