PluginProbe
Translate and Go multilingual – Automatic AI translation – wpLingua / 1.2.0
Translate and Go multilingual – Automatic AI translation – wpLingua v1.2.0
2.16.4 2.16.3 2.16.2 2.16.1 2.16.0 2.15.2 2.15.1 2.15.0 2.14.3 2.14.2 2.14.1 2.14.0 2.13.1 2.13.0 2.12.3 2.12.2 2.12.1 trunk 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.2.0 1.2.1 All 109 releases
wplingua / loader.php

loader.php in Translate and Go multilingual – Automatic AI translation – wpLingua 1.2.0, at loader.php

75 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // If this file is called directly, abort.
4 if ( ! defined( 'WPINC' ) ) {
5 die;
6 }
7
8 /**
9 * Require all wpLingua PHP files
10 */
11
12 // Require data functions
13 require_once WPLNG_PLUGIN_PATH . '/data.php';
14
15 // Require files in /inc/ folder
16 require_once WPLNG_PLUGIN_PATH . '/inc/api-key.php';
17 require_once WPLNG_PLUGIN_PATH . '/inc/args.php';
18 require_once WPLNG_PLUGIN_PATH . '/inc/assets.php';
19 require_once WPLNG_PLUGIN_PATH . '/inc/buffering.php';
20 require_once WPLNG_PLUGIN_PATH . '/inc/dictionary.php';
21 require_once WPLNG_PLUGIN_PATH . '/inc/hreflang.php';
22 require_once WPLNG_PLUGIN_PATH . '/inc/languages.php';
23 require_once WPLNG_PLUGIN_PATH . '/inc/search.php';
24 require_once WPLNG_PLUGIN_PATH . '/inc/shortcode.php';
25 require_once WPLNG_PLUGIN_PATH . '/inc/switcher.php';
26 require_once WPLNG_PLUGIN_PATH . '/inc/translation.php';
27 require_once WPLNG_PLUGIN_PATH . '/inc/url.php';
28 require_once WPLNG_PLUGIN_PATH . '/inc/util.php';
29 require_once WPLNG_PLUGIN_PATH . '/inc/woocommerce.php';
30
31 // Require files in /inc/admin/ folder
32 require_once WPLNG_PLUGIN_PATH . '/inc/admin/admin-bar.php';
33 require_once WPLNG_PLUGIN_PATH . '/inc/admin/assets.php';
34 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-dictionary.php';
35 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-exclusions.php';
36 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-register.php';
37 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-settings.php';
38 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-switcher.php';
39 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page.php';
40 require_once WPLNG_PLUGIN_PATH . '/inc/admin/translation-cpt.php';
41 require_once WPLNG_PLUGIN_PATH . '/inc/admin/translation-meta.php';
42
43 // Require files in /inc/api-call/ folder
44 require_once WPLNG_PLUGIN_PATH . '/inc/api-call/request-api-key.php';
45 require_once WPLNG_PLUGIN_PATH . '/inc/api-call/translate.php';
46 require_once WPLNG_PLUGIN_PATH . '/inc/api-call/validate-api-key.php';
47
48 // Require files in /inc/dom/ folder
49 require_once WPLNG_PLUGIN_PATH . '/inc/dom/exclusion-put-tags.php';
50 require_once WPLNG_PLUGIN_PATH . '/inc/dom/exclusion-replace-tags.php';
51 require_once WPLNG_PLUGIN_PATH . '/inc/dom/load-progress.php';
52 require_once WPLNG_PLUGIN_PATH . '/inc/dom/mode-editor.php';
53 require_once WPLNG_PLUGIN_PATH . '/inc/dom/mode-list.php';
54 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-attr-dir.php';
55 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-attr-lang.php';
56 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-body-class.php';
57 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-links.php';
58 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-js.php';
59 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-json.php';
60 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-texts-attr.php';
61 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-texts-nodes.php';
62
63 // Require files in /inc/lib/ folder
64 require_once WPLNG_PLUGIN_PATH . '/inc/lib/simple-html-dom.php';
65
66 // Require files in /inc/parser/ folder
67 require_once WPLNG_PLUGIN_PATH . '/inc/parser/html.php';
68 require_once WPLNG_PLUGIN_PATH . '/inc/parser/js.php';
69 require_once WPLNG_PLUGIN_PATH . '/inc/parser/json.php';
70
71 // Require files in /inc/translator/ folder
72 require_once WPLNG_PLUGIN_PATH . '/inc/translator/html.php';
73 require_once WPLNG_PLUGIN_PATH . '/inc/translator/js.php';
74 require_once WPLNG_PLUGIN_PATH . '/inc/translator/json.php';
75