-
Notifications
You must be signed in to change notification settings - Fork 6
/
sensei-content-drip.php
39 lines (32 loc) · 1.13 KB
/
sensei-content-drip.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
<?php
/*
* Plugin Name: Sensei Content Drip
* Version: 2.1.1
* Plugin URI: https://woocommerce.com/products/sensei-content-drip/
* Description: Control access to Sensei lessons by scheduling them to become available after a determined time.
* Author: Automattic
* Author URI: https://automattic.com/
* Requires at least: 5.6
* Tested up to: 5.8
* Requires PHP: 7.0
* Domain path: /lang/
* Woo: 543363:8ee2cdf89f55727f57733133ccbbfbb0
*
* @package WordPress
* @author Automattic
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'SENSEI_CONTENT_DRIP_VERSION', '2.1.1' );
define( 'SENSEI_CONTENT_DRIP_PLUGIN_FILE', __FILE__ );
define( 'SENSEI_CONTENT_DRIP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
require_once dirname( __FILE__ ) . '/includes/class-scd-ext-dependency-checker.php';
if ( ! Scd_Ext_Dependency_Checker::are_system_dependencies_met() ) {
return;
}
require_once dirname( __FILE__ ) . '/includes/class-sensei-content-drip.php';
// Load the plugin after all the other plugins have loaded.
add_action( 'plugins_loaded', array( 'Sensei_Content_Drip', 'init' ), 5 ) ;
Sensei_Content_Drip::instance();