PluginProbe
Authorsy – Author Box, Multiple Authors, Guest Authors & Post Rating / trunk
Authorsy – Author Box, Multiple Authors, Guest Authors & Post Rating vtrunk
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8
authorsy / core / base.php

base.php in Authorsy – Author Box, Multiple Authors, Guest Authors & Post Rating trunk, at core/base.php

49 lines 962 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Appoints base file
4 *
5 * @since 1.0.0
6 *
7 * @package Authorsy
8 */
9
10 namespace Authorsy\Core;
11 defined( 'ABSPATH' ) || exit;
12
13 use Authorsy\Core\Authors\Author;
14 use Authorsy\Core\Ratings;
15 use Authorsy\Utils\Singleton;
16
17 /**
18 * Base Class
19 *
20 * @since 1.0.0
21 */
22 class Base {
23
24 use Singleton;
25
26 /**
27 * Initialize all modules.
28 *
29 * @since 1.0.0
30 *
31 * @return void
32 */
33 public function init() {
34 // Initialize classes.
35 Settings\Api_Settings::instance();
36 Settings\Api_Author_Plugins::instance();
37 EnqueueInline\Enqueue_Inline::instance()->init();
38 Admin\Hooks::instance()->init();
39 Authors\Hooks::instance()->init();
40 Authors\Api_Author::instance();
41 Authors\Author_Meta::instance()->init();
42 Like_Dislike\Like_Dislike_Meta::instance()->init();
43 Like_Dislike\Api_Like_Dislike::instance();
44 Like_Dislike\Hooks::instance()->init();
45 }
46 }
47
48
49