-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfunctions.php
More file actions
57 lines (47 loc) · 1.11 KB
/
functions.php
File metadata and controls
57 lines (47 loc) · 1.11 KB
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
<?php
/**
* Follet functions and definitions
*
* @package Follet_Theme
* @since 1.0
*/
/**
* Add a hook for custom actions before loading this file.
*/
do_action( 'follet_before_functions' );
/**
* Set $template_directory to avoid calling get_template_directory() all the time.
*/
$template_directory = get_template_directory();
/**
* Follet Core framework.
*/
require $template_directory . '/includes/follet-core/follet-load.php';
/**
* Internal functions.
*/
require $template_directory . '/includes/internal.php';
/**
* Custom actions for this theme.
*/
require $template_directory . '/includes/custom-setup.php';
/**
* Implement the Custom Header feature.
*/
require $template_directory . '/includes/custom-header.php';
/**
* Custom template tags for this theme.
*/
require $template_directory . '/includes/custom-template-tags.php';
/**
* Customizer additions.
*/
require $template_directory . '/includes/customizer.php';
/**
* Execute Follet-related tasks.
*/
do_action( 'follet_setup' );
/**
* Add a hook for custom actions after loading this file.
*/
do_action( 'follet_after_functions' );