PluginProbe
Powerkit – Supercharge your WordPress Site / 2.4.4
Powerkit – Supercharge your WordPress Site v2.4.4
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
powerkit / core / class-powerkit-module-admin.php

class-powerkit-module-admin.php in Powerkit – Supercharge your WordPress Site 2.4.4, at core/class-powerkit-module-admin.php

65 lines 999 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Module admin carcase
4 *
5 * @package Powerkit
6 * @subpackage Core
7 */
8
9 // If this file is called directly, abort.
10 if ( ! defined( 'WPINC' ) ) {
11 die;
12 }
13
14 /**
15 * Module admin class.
16 */
17 class Powerkit_Module_Admin {
18
19 /**
20 * The module slug.
21 *
22 * @var string $slug The module slug.
23 */
24 public $slug = null;
25
26 /**
27 * __construct
28 *
29 * This function will initialize the initialize
30 *
31 * @param string $slug The module slug.
32 */
33 public function __construct( $slug = null ) {
34
35 // Init slug of module.
36 $this->slug = $slug;
37
38 // Initialize.
39 $this->initialize();
40
41 // Actions.
42 add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
43 }
44
45 /**
46 * Initialize
47 *
48 * This function will initialize the module
49 */
50 public function initialize() {
51
52 /* do nothing */
53 }
54
55 /**
56 * Load the required dependencies for this module.
57 *
58 * @param string $page Current page.
59 */
60 public function admin_enqueue_scripts( $page ) {
61
62 /* do nothing */
63 }
64 }
65