-
Notifications
You must be signed in to change notification settings - Fork 55
/
classmap.php
75 lines (66 loc) · 3.57 KB
/
classmap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* WP Search With Algolia "Classmap" file.
*
* @author WebDevStudios <[email protected]>
* @since 1.0.0
*
* @package WebDevStudios\WPSWA
*/
if ( ! defined( 'ALGOLIA_PATH' ) ) {
exit();
}
/**
* Filters whether to include the Algolia PHP API Client library.
*
* @since 1.0.0
* @deprecated 2.3.2 No longer necessary as the Algolia PHP API Client library is now prefixed.
*
* @param bool $true Include the Algolia PHP API Client library.
*/
apply_filters_deprecated(
'algolia_should_require_search_client',
[ true ],
'2.3.2',
'',
esc_html__( 'The "algolia_should_require_search_client" filter is deprecated and no longer has any effect.', 'wp-search-with-algolia' )
);
// Autoload vendor dependencies, that have been prefixed to prevent namespace collision.
require_once ALGOLIA_PATH . 'vendor_prefixed/autoload.php';
require_once ALGOLIA_PATH . 'includes/factories/class-algolia-http-client-interface-factory.php';
require_once ALGOLIA_PATH . 'includes/factories/class-algolia-search-client-factory.php';
require_once ALGOLIA_PATH . 'includes/factories/class-algolia-plugin-factory.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-api.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-autocomplete-config.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-cli.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-compatibility.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-plugin.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-search.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-settings.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-template-loader.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-utils.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-styles.php';
require_once ALGOLIA_PATH . 'includes/class-algolia-scripts.php';
require_once ALGOLIA_PATH . 'includes/indices/class-algolia-index.php';
require_once ALGOLIA_PATH . 'includes/indices/class-algolia-index-replica.php';
require_once ALGOLIA_PATH . 'includes/indices/class-algolia-searchable-posts-index.php';
require_once ALGOLIA_PATH . 'includes/indices/class-algolia-posts-index.php';
require_once ALGOLIA_PATH . 'includes/indices/class-algolia-terms-index.php';
require_once ALGOLIA_PATH . 'includes/indices/class-algolia-users-index.php';
require_once ALGOLIA_PATH . 'includes/watchers/class-algolia-changes-watcher.php';
require_once ALGOLIA_PATH . 'includes/watchers/class-algolia-post-changes-watcher.php';
require_once ALGOLIA_PATH . 'includes/watchers/class-algolia-term-changes-watcher.php';
require_once ALGOLIA_PATH . 'includes/watchers/class-algolia-user-changes-watcher.php';
require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-template-utils.php';
require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-version-utils.php';
require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-update-messages.php';
if ( is_admin() ) {
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-settings.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-autocomplete.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-native-search.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-woocommerce.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-premium-support.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-seo.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-template-notices.php';
}