PluginProbe
Translate and Go multilingual – Automatic AI translation – wpLingua / 2.9.4
Translate and Go multilingual – Automatic AI translation – wpLingua v2.9.4
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 2.9.4, at loader.php

88 lines 4.2 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/browser-language.php';
20 require_once WPLNG_PLUGIN_PATH . '/inc/buffering.php';
21 require_once WPLNG_PLUGIN_PATH . '/inc/dictionary.php';
22 require_once WPLNG_PLUGIN_PATH . '/inc/heartbeat.php';
23 require_once WPLNG_PLUGIN_PATH . '/inc/hreflang.php';
24 require_once WPLNG_PLUGIN_PATH . '/inc/languages.php';
25 require_once WPLNG_PLUGIN_PATH . '/inc/link-media.php';
26 require_once WPLNG_PLUGIN_PATH . '/inc/search.php';
27 require_once WPLNG_PLUGIN_PATH . '/inc/shortcode.php';
28 require_once WPLNG_PLUGIN_PATH . '/inc/slug.php';
29 require_once WPLNG_PLUGIN_PATH . '/inc/switcher-block.php';
30 require_once WPLNG_PLUGIN_PATH . '/inc/switcher-nav-menu.php';
31 require_once WPLNG_PLUGIN_PATH . '/inc/switcher.php';
32 require_once WPLNG_PLUGIN_PATH . '/inc/translation.php';
33 require_once WPLNG_PLUGIN_PATH . '/inc/url.php';
34 require_once WPLNG_PLUGIN_PATH . '/inc/util.php';
35
36 // Require files in /inc/admin/ folder
37 require_once WPLNG_PLUGIN_PATH . '/inc/admin/admin-bar.php';
38 require_once WPLNG_PLUGIN_PATH . '/inc/admin/admin.php';
39 require_once WPLNG_PLUGIN_PATH . '/inc/admin/assets.php';
40 require_once WPLNG_PLUGIN_PATH . '/inc/admin/switcher-nav-menu.php';
41 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-link-media.php';
42 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-dictionary.php';
43 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-exclusions.php';
44 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-register.php';
45 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-settings.php';
46 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page-switcher.php';
47 require_once WPLNG_PLUGIN_PATH . '/inc/admin/option-page.php';
48 require_once WPLNG_PLUGIN_PATH . '/inc/admin/slug-cpt.php';
49 require_once WPLNG_PLUGIN_PATH . '/inc/admin/slug-meta.php';
50 require_once WPLNG_PLUGIN_PATH . '/inc/admin/translation-cpt.php';
51 require_once WPLNG_PLUGIN_PATH . '/inc/admin/translation-edit-modal.php';
52 require_once WPLNG_PLUGIN_PATH . '/inc/admin/translation-meta.php';
53
54 // Require files in /inc/api-call/ folder
55 require_once WPLNG_PLUGIN_PATH . '/inc/api-call/request-api-key.php';
56 require_once WPLNG_PLUGIN_PATH . '/inc/api-call/translate.php';
57 require_once WPLNG_PLUGIN_PATH . '/inc/api-call/validate-api-key.php';
58
59 // Require files in /inc/dom/ folder
60 require_once WPLNG_PLUGIN_PATH . '/inc/dom/exclusion-put-tags.php';
61 require_once WPLNG_PLUGIN_PATH . '/inc/dom/exclusion-replace-tags.php';
62 require_once WPLNG_PLUGIN_PATH . '/inc/dom/load-overload.php';
63 require_once WPLNG_PLUGIN_PATH . '/inc/dom/load-progress.php';
64 require_once WPLNG_PLUGIN_PATH . '/inc/dom/mode-editor.php';
65 require_once WPLNG_PLUGIN_PATH . '/inc/dom/mode-list.php';
66 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-attr-dir.php';
67 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-attr-lang.php';
68 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-body-class.php';
69 require_once WPLNG_PLUGIN_PATH . '/inc/dom/replace-links.php';
70 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-attr-html.php';
71 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-attr-texts.php';
72 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-js.php';
73 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-json.php';
74 require_once WPLNG_PLUGIN_PATH . '/inc/dom/translate-node-texts.php';
75
76 // Require files in /inc/lib/ folder
77 require_once WPLNG_PLUGIN_PATH . '/inc/lib/simple-html-dom.php';
78
79 // Require files in /inc/parser/ folder
80 require_once WPLNG_PLUGIN_PATH . '/inc/parser/html.php';
81 require_once WPLNG_PLUGIN_PATH . '/inc/parser/js.php';
82 require_once WPLNG_PLUGIN_PATH . '/inc/parser/json.php';
83
84 // Require files in /inc/translator/ folder
85 require_once WPLNG_PLUGIN_PATH . '/inc/translator/html.php';
86 require_once WPLNG_PLUGIN_PATH . '/inc/translator/js.php';
87 require_once WPLNG_PLUGIN_PATH . '/inc/translator/json.php';
88