-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathfunctions.php
31 lines (27 loc) · 922 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
30
31
<?php
if (!session_id() ) {
session_start();
}
/**
* Reactor Theme Functions
*
* @package Reactor
* @author Anthony Wilhelm (@awshout / anthonywilhelm.com)
* @since 1.1.0
* @copyright Copyright (c) 2013, Anthony Wilhelm
* @license GNU General Public License v2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
*/
/** @noinspection PhpIncludeInspection */
require locate_template('/library/reactor.php');
/** @noinspection PhpIncludeInspection */
require locate_template('/library/angularpress.php');
new Angularpress();
/*
function test() {
global $angularpress_option;
FB::info($angularpress_option, '$angularpress_option');
FB::info( $angularpress_option['opt-text-login-slug'],' opt-text-login-slug');
FB::info( $angularpress_option['opt-text-secret-key'],' opt-text-secret-key');
FB::info( $angularpress_option['opt-text-admin-slug'],' opt-text-admin-slug');
}
add_action('admin_init', 'test');*/