-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathwoothemes-sensei-certificates.php
34 lines (27 loc) · 1.1 KB
/
woothemes-sensei-certificates.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
<?php
/**
* Plugin Name: Sensei LMS Certificates
* Plugin URI: https://woocommerce.com/products/sensei-certificates/
* Description: Award your students with a certificate of completion and a sense of accomplishment after finishing a course.
* Version: 2.5.3
* Author: Automattic
* Author URI: https://automattic.com
* Requires at least: 6.5
* Tested up to: 6.7
* Requires PHP: 7.4
* License: GPLv2+
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'SENSEI_CERTIFICATES_VERSION', '2.5.3' );
define( 'SENSEI_CERTIFICATES_PLUGIN_FILE', __FILE__ );
define( 'SENSEI_CERTIFICATES_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
require_once dirname( __FILE__ ) . '/classes/class-woothemes-sensei-certificates-dependency-checker.php';
if ( ! Woothemes_Sensei_Certificates_Dependency_Checker::are_system_dependencies_met() ) {
return;
}
require_once dirname( __FILE__ ) . '/classes/class-woothemes-sensei-certificates.php';
// Load the plugin after all the other plugins have loaded.
add_action( 'plugins_loaded', array( 'WooThemes_Sensei_Certificates', 'init' ), 5 );
WooThemes_Sensei_Certificates::instance();