-
Notifications
You must be signed in to change notification settings - Fork 30
/
geodirectory_functions.php
142 lines (139 loc) · 3.56 KB
/
geodirectory_functions.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?php
/**
* Function includes, this file calls all the separate function files
*
* @since 1.0.0
* @package GeoDirectory
*/
/**
* Contains class & functions for geodirectory session usage.
*
* @since 1.5.7
*/
include_once('geodirectory-functions/geodir-class-session.php');
/**
* Contains helper functions used to make like easier for theme/plugin devs.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/helper_functions.php');
/**
* Contains functions used for user info.
*
* @since 1.5.9
*/
include_once('geodirectory-functions/user_functions.php');
/**
* Contains functions used for ajax calls.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/ajax_handler_functions.php');
/**
* Contains non specific general functions used by the plugin.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/general_functions.php');
/**
* Contains functions used by hooks and actions.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/custom_functions.php');
/**
* Contains functions/filters/hooks mostly used to alter the database queries.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/listing_filters.php');
/**
* Contains functions for calling the templates for the plugin.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/template_functions.php');
/**
* Contains functions for registration and sign in.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/signup_function.php');
/**
* Contains functions that are specifically related to post output page.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/post_functions.php');
/**
* Contains functions that are specifically related to taxonomy output pages (category and tags).
*
* @since 1.0.0
*/
include_once('geodirectory-functions/taxonomy_functions.php');
/**
* Contains functions outputting the custom fields html inputs.
*
* @since 1.6.6
*/
include_once('geodirectory-functions/custom_fields_input_functions.php');
/**
* Contains functions outputting the custom fields html.
*
* @since 1.6.6
*/
include_once('geodirectory-functions/custom_fields_output_functions.php');
/**
* Contains functions for predefined custom fields.
*
* @since 1.6.9
*/
include_once('geodirectory-functions/custom_fields_predefined.php');
/**
* Contains functions for building and storing custom fields.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/custom_fields_functions.php');
/**
* Contains functions related to comments and reviews.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/comments_functions.php');
/**
* Contains functions used for storing category meta information (cat icons, default image).
*
* @since 1.0.0
*/
include_once('geodirectory-functions/cat-meta-functions/cat_meta.php');
/**
* Contains functions used for building and outputting google maps.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/map-functions/map_functions.php');
/**
* Contains functions used determining locations and saving location information.
*
* @since 1.0.0
*/
include_once('geodirectory-functions/location_functions.php');
/**
* Contains functions used for displaying Google analytics.
*
* @since 1.1.4
*/
include_once('geodirectory-functions/google_analytics.php');
/**
* Contains functions used to call shortcodes.
*
* @since 1.3.7
*/
include_once('geodirectory_shortcodes.php');
global $wp_version;
// If curent WP Version >= 4.9.6.
if ( version_compare( $wp_version, '4.9.6', '>=' ) ) {
include_once( 'geodirectory-functions/privacy/abstract-geodir-privacy.php' );
include_once( 'geodirectory-functions/privacy/class-geodir-privacy.php' );
}