-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsocialflow.php
96 lines (89 loc) · 2.58 KB
/
socialflow.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
<?php
/**
* Plugin Name: SocialFlow NEW
*
* @package SocialFlow NEW
*/
if ( ! defined( 'ABSPATH' ) ) {
exit( 'No direct script access allowed' );
}
/*
Plugin Name: SocialFlow NEW
Description: SocialFlow's WordPress plugin enhances your WordPress experience by allowing you to utilize the power of SocialFlow from right inside WordPress.
Author: SocialFlow, Dizzain
Version: 3.0
Author URI: http://socialflow.com/
Plugin URI: http://wordpress.org/plugins/socialflow/
License: GPLv2 or later
Text Domain: socialflow
Domain Path: /i18n
*/
/**
* Current plugin version
* Each time on plugin initialization
* we are checking this version with one stored in plugin options
* and if they don't match plugin update hook will be fired
*
* @since 2.1
*/
if ( ! defined( 'SF_VERSION' ) ) {
define( 'SF_VERSION', '3.0' );
}
/**
* The name of the SocialFlow Core file
*
* @since 2.0
*/
if ( ! defined( 'SF_FILE' ) ) {
define( 'SF_FILE', __FILE__ );
}
/**
* Absolute location of SocialFlow Plugin
*
* @since 2.0
*/
if ( ! defined( 'SF_ABSPATH' ) ) {
define( 'SF_ABSPATH', dirname( SF_FILE ) );
}
/**
* The name of the SocialFlow directory
*
* @since 2.0
*/
if ( ! defined( 'SF_DIRNAME' ) ) {
define( 'SF_DIRNAME', basename( SF_ABSPATH ) );
}
/**
* Define Consumer Key
*
* @since 1.0
*/
define( 'SF_KEY', 'acbe74e2cc182d888412' );
/**
* Define Consumer Secret
*
* @since 1.0
*/
define( 'SF_SECRET', '650108a50ea3cb2bd6f9' );
require_once SF_ABSPATH . '/includes/class-sf-debug.php';
require_once SF_ABSPATH . '/includes/class-socialflow-methods.php';
require_once SF_ABSPATH . '/includes/class-socialflow.php';
require_once SF_ABSPATH . '/includes/class-socialflow-admin.php';
require_once SF_ABSPATH . '/includes/post/class-socialflow-compose-form-logs.php';
require_once SF_ABSPATH . '/includes/post/class-socialflow-post-accounts.php';
require_once SF_ABSPATH . '/includes/post/class-socialflow-post-form-data.php';
require_once SF_ABSPATH . '/includes/post/class-socialflow-post-compose.php';
require_once SF_ABSPATH . '/includes/class-socialflow-post.php';
require_once SF_ABSPATH . '/includes/class-socialflow-account.php';
require_once SF_ABSPATH . '/includes/class-socialflow-accounts.php';
require_once SF_ABSPATH . '/includes/class-socialflow-update.php';
require_once SF_ABSPATH . '/modules/replace-site-url-in-request/class-sf-module-replace-site-url.php';
require_once SF_ABSPATH . '/includes/class-sf-plugin-options.php';
require_once SF_ABSPATH . '/includes/class-sf-plugin-view.php';
/**
* SocialFlow object
*
* @global object $socialflow
* @since 2.0
*/
$GLOBALS['socialflow'] = new SocialFlow();