| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Team Section - Block |
| 4 |
* Description: Makes background element scrolls slower than foreground content. |
| 5 |
* Version: 2.0.4 |
| 6 |
* Author: bPlugins |
| 7 |
* Author URI: http://bplugins.com |
| 8 |
* License: GPLv3 |
| 9 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt |
| 10 |
* Text Domain: team-section |
| 11 |
* @fs_premium_only vendor/freemius-lite |
| 12 |
*/ |
| 13 |
|
| 14 |
// ABS PATH |
| 15 |
if ( !defined( 'ABSPATH' ) ) { exit; } |
| 16 |
|
| 17 |
if ( function_exists( 'ts_fs' ) ) { |
| 18 |
ts_fs()->set_basename( true, __FILE__ ); |
| 19 |
} else { |
| 20 |
|
| 21 |
// Constant |
| 22 |
define( 'TSB_VERSION', isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '2.0.4' ); |
| 23 |
define( 'TSB_DIR_URL', plugin_dir_url( __FILE__ ) ); |
| 24 |
define( 'TSB_DIR_PATH', plugin_dir_path( __FILE__ ) ); |
| 25 |
|
| 26 |
|
| 27 |
if ( ! function_exists( 'ts_fs' ) ) { |
| 28 |
|
| 29 |
function ts_fs() { |
| 30 |
global $ts_fs; |
| 31 |
|
| 32 |
if ( ! isset( $ts_fs ) ) { |
| 33 |
|
| 34 |
|
| 35 |
require_once dirname(__FILE__) . '/vendor/freemius-lite/start.php'; |
| 36 |
|
| 37 |
$apbConfig = array( |
| 38 |
'id' => '21587', |
| 39 |
'slug' => 'team-section', |
| 40 |
'premium_slug' => 'team-section-pro', |
| 41 |
'type' => 'plugin', |
| 42 |
'public_key' => 'pk_3ba5bf1bfe18f86fccd5a5995ae77', |
| 43 |
'is_premium' => false, |
| 44 |
'premium_suffix' => 'Pro', |
| 45 |
|
| 46 |
'has_premium_version' => true, |
| 47 |
'has_addons' => false, |
| 48 |
'has_paid_plans' => true, |
| 49 |
'menu' => array( |
| 50 |
'slug' => 'edit.php?post_type=tsb', |
| 51 |
'first-path' => 'edit.php?post_type=tsb&page=team-section-dashboard#/welcome', |
| 52 |
'support' => false, |
| 53 |
), |
| 54 |
) ; |
| 55 |
$ts_fs = fs_lite_dynamic_init( $apbConfig ); |
| 56 |
} |
| 57 |
return $ts_fs; |
| 58 |
} |
| 59 |
|
| 60 |
ts_fs(); |
| 61 |
do_action( 'ts_fs_loaded' ); |
| 62 |
|
| 63 |
} |
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
require_once TSB_DIR_PATH . 'includes/plugin.php'; |
| 68 |
|
| 69 |
} |