-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
29 lines (21 loc) · 999 Bytes
/
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
<?php
// theme cleanup
require_once(get_template_directory().'/includes/functions/cleanup.php');
// register scripts, stylesheets, and fonts
require_once(get_template_directory().'/includes/functions/enqueue-scripts.php');
require_once(get_template_directory().'/includes/functions/enqueue-google-fonts.php');
// register custom plugins
// recaptcha-options
require_once(get_template_directory().'/includes/functions/recaptcha.php');
// register custom ufc betting plugin
require_once(get_template_directory().'/includes/functions/ufc-bets/controller.php');
// register custom form hooks
require_once(get_template_directory().'/includes/functions/forms.php');
// register custom captcha form hooks
$captcha_enabled = get_option('captcha_enabled');
if ($captcha_enabled == 'yes') {
require_once(get_template_directory().'/includes/functions/captcha-forms.php');
}
// adds multiple language support
require_once(get_template_directory().'/includes/functions/advanced-custom-fields.php');
?>