-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
55 lines (47 loc) · 1.18 KB
/
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
<?php
/**
* Open Web Office functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package WordPress
* @subpackage Open_Web_Office
* @since Open Web Office 1.0
*/
/**
* Table of Contents:
* Required Include foler Files
* Required Class foler Files
*/
/*
* Add required Includes files.
*/
$includes_files = array(
'template-tags.php',
'svg-icons.php',
'theme-functions.php',
'custom-theme-functions.php'
);
foreach($includes_files as $filename){
require_once 'includes/' . $filename ;
}
/*************************************/
/*
* Add required Class files.
*/
$class_files = array(
'class-openweboffice-svg-icons.php',
'class-openweboffice-customize.php',
'class-openweboffice-walker-page.php',
'class-openweboffice-walker-comment.php',
'class-openweboffice-script-loader.php',
'class-openweboffice-non-latin-languages.php',
'class-openweboffice-acf-missing.php',
'class-openweboffice-acf-theme-functions.php',
//'class-openweboffice-custom-post-type-module.php',
'class-openweboffice-acf-dynamic-gutenberg.php'
);
foreach($class_files as $class_file){
require_once 'classes/' . $class_file ;
}
?>