| @@ -1,7 +1,15 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace WPDeveloper\BetterDocs\Admin; |
| 3 | 3 | |
| 4 | + | |
| 5 | +// Doc/category-listing primitives (meta_query/tax_query, post__not_in/exclude) | |
| 6 | +// are intrinsic to BetterDocs' KB / category / FAQ filters and intentional. | |
| 7 | +// phpcs:disable WordPress.DB.SlowDBQuery.slow_db_query_meta_key | |
| 8 | +// phpcs:disable WordPress.DB.SlowDBQuery.slow_db_query_meta_query | |
| 9 | +// phpcs:disable WordPress.DB.SlowDBQuery.slow_db_query_tax_query | |
| 10 | +// phpcs:disable WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude | |
| 11 | +// phpcs:disable WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in | |
| 4 | 12 | class ExportDefaults { |
| 5 | 13 | public static function get_default_args(): array { |
| 6 | 14 | return [ |
| 7 | 15 | 'content' => 'all', |