| @@ -5,44 +5,46 @@ | ||
| 5 | 5 | * This file is needed if any users uses our Pro Plugin if they are not updated Pro yet to v3+. |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | namespace Better_Docs_Elementor\Traits { |
| 9 | - trait Template_Query { | |
| 10 | - private function get_default() {} | |
| 11 | - private function template_options() {} | |
| 12 | - }; | |
| 9 | + if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit; | |
| 11 | + } | |
| 12 | + trait Template_Query { | |
| 13 | + private function get_default() {} | |
| 14 | + private function template_options() {} | |
| 15 | + } | |
| 13 | 16 | } |
| 14 | 17 | |
| 15 | 18 | namespace { |
| 16 | - define('BETTERDOCS_URL', ''); | |
| 17 | - define('BETTERDOCS_ADMIN_URL', ''); | |
| 19 | + define( 'BETTERDOCS_URL', '' ); | |
| 20 | + define( 'BETTERDOCS_ADMIN_URL', '' ); | |
| 18 | 21 | |
| 19 | - class BetterDocs_DB { | |
| 20 | - public static function get_settings(){} | |
| 21 | - } | |
| 22 | + class BetterDocs_DB { | |
| 23 | + public static function get_settings() {} | |
| 24 | + } | |
| 22 | 25 | |
| 23 | - class BetterDocs {} | |
| 24 | - class BetterDocs_Helper { | |
| 25 | - public static function term_options(){} | |
| 26 | - public static function get_tax(){} | |
| 27 | - public static function get_doc_terms(){} | |
| 28 | - public static function list_query_arg(){} | |
| 29 | - public static function faq_term_list(){} | |
| 30 | - public static function html_tag(){} | |
| 31 | - public static function permalink_stracture(){} | |
| 32 | - public static function term_permalink(){} | |
| 33 | - public static function taxonomy_object(){} | |
| 34 | - public static function list_svg(){} | |
| 35 | - public static function child_taxonomy_terms(){} | |
| 36 | - public static function arrow_right_svg(){} | |
| 37 | - public static function arrow_down_svg(){} | |
| 38 | - } | |
| 26 | + class BetterDocs {} | |
| 27 | + class BetterDocs_Helper { | |
| 28 | + public static function term_options() {} | |
| 29 | + public static function get_tax() {} | |
| 30 | + public static function get_doc_terms() {} | |
| 31 | + public static function list_query_arg() {} | |
| 32 | + public static function faq_term_list() {} | |
| 33 | + public static function html_tag() {} | |
| 34 | + public static function permalink_stracture() {} | |
| 35 | + public static function term_permalink() {} | |
| 36 | + public static function taxonomy_object() {} | |
| 37 | + public static function list_svg() {} | |
| 38 | + public static function child_taxonomy_terms() {} | |
| 39 | + public static function arrow_right_svg() {} | |
| 40 | + public static function arrow_down_svg() {} | |
| 41 | + } | |
| 39 | 42 | |
| 40 | - class BetterDocs_Elementor { | |
| 41 | - public static function elbd_validate_html_tag(){} | |
| 42 | - public static function get_betterdocs_multiple_kb_status(){} | |
| 43 | - } | |
| 43 | + class BetterDocs_Elementor { | |
| 44 | + public static function elbd_validate_html_tag() {} | |
| 45 | + public static function get_betterdocs_multiple_kb_status() {} | |
| 46 | + } | |
| 44 | 47 | |
| 45 | - function betterdocs_get_option(){} | |
| 46 | - function betterdocs_breadcrumbs(){} | |
| 48 | + function betterdocs_get_option() {} | |
| 49 | + function betterdocs_breadcrumbs() {} | |
| 47 | 50 | } |
| 48 | - | |