PluginProbe
Social Share Buttons / 0.9
Social Share Buttons v0.9
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / share-button.php

share-button.php in Social Share Buttons 0.9, at share-button.php

62 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Share Button
4 Plugin URI: http://maxbuttons.com/share-button
5 Description: MaxButtons Share Button
6 Version: 0.9
7 Author: Max Foundry
8 Author URI: http://maxfoundry.com
9 Text Domain: mbsocial
10 Domain Path: /languages
11
12 Copyright 2017 Max Foundry, LLC (http://maxfoundry.com)
13 */
14
15 namespace MBSocial;
16
17 define("MBSOCIAL_ROOT_FILE", __FILE__);
18 define('MBSOCIAL_VERSION_NUM', '0.9');
19 define('MBSOCIAL_RELEASE',"16 Nov 2017");
20 define('MBSOCIAL_REQUIRED_MB', '6.24');
21
22 // load runtime.
23 require_once('classes/class-install.php');
24
25 add_action('plugins_loaded', function () {
26
27 $status = Install::verifyPlugin(); // check if all requirements are met.
28 if (! $status)
29 return;
30
31 require_once('classes/class-social.php');
32 require_once('classes/class-admin.php');
33 require_once('classes/class-social-networks.php');
34
35 require_once('classes/class-styles.php');
36 require_once('classes/class-style.php');
37 require_once('classes/class-collections.php');
38 require_once('classes/class-collection.php');
39 require_once('classes/class-block.php');
40
41 require_once('classes/class-network.php');
42
43 require_once('libraries/simple_template.php');
44 require_once('libraries/autoload/ClassLoader.php');
45 require_once('libraries/Mobile_Detect.php');
46
47 function MB() {
48 return \MaxButtons\maxButtonsPlugin::getInstance();
49 }
50
51 $m = new mbSocialPlugin();
52 $m->init();
53 });
54
55 if (! function_exists('MBSocial\MBSocial') )
56 {
57 function MBSocial()
58 {
59 return mbSocialPlugin::getInstance();
60 }
61 }
62