| @@ -1,5 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- view template receives variables via extract(); prefixing is impractical. | |
| 3 | + | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 2 | 7 | $mods = betterdocs()->customizer->defaults->generate_defaults(); |
| 3 | 8 | $query = new WP_Query( |
| 4 | 9 | [ |
| 5 | 10 | 'post_type' => 'betterdocs_faq', |