PluginProbe
Tutor LMS – eLearning and online course solution / 3.9.2
Tutor LMS – eLearning and online course solution v3.9.2
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 All 191 releases
tutor / template-import / TemplateImportInit.php
TemplateImportInit.php
40 lines 588 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Initialize template importer
4 *
5 * @package Tutor\TemplateImporter
6 * @author Themeum <support@themeum.com>
7 * @link https://themeum.com
8 * @since 3.9.2
9 */
10
11 namespace Tutor\TemplateImport;
12
13 use TUTOR\Container;
14
15 /**
16 * Class TemplateImportInit
17 */
18 final class TemplateImportInit {
19
20 /**
21 * Register hooks
22 *
23 * @since 3.9.2
24 */
25 public function __construct() {
26 add_action( 'plugins_loaded', array( $this, 'init' ) );
27 }
28
29 /**
30 * Init packages
31 *
32 * @since 3.9.2
33 *
34 * @return void
35 */
36 public function init() {
37 Container::make( TemplateImporter::class );
38 }
39 }
40