PluginProbe
WebberZone Top 10 — Popular Posts / trunk
WebberZone Top 10 — Popular Posts vtrunk
4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 All 116 releases
top-10 / includes / admin / network / class-admin.php

class-admin.php in WebberZone Top 10 — Popular Posts trunk, at includes/admin/network/class-admin.php

77 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Network Admin class.
4 *
5 * @package WebberZone\Top_Ten\Admin\Network
6 */
7
8 namespace WebberZone\Top_Ten\Admin\Network;
9
10 // If this file is called directly, abort.
11 if ( ! defined( 'WPINC' ) ) {
12 die;
13 }
14
15 /**
16 * Bootstraps the Top 10 network admin area.
17 *
18 * @since 3.3.0
19 */
20 class Admin {
21
22 /**
23 * Statistics table.
24 *
25 * @since 3.3.0
26 *
27 * @var object Statistics table.
28 */
29 public $statistics;
30
31 /**
32 * Import Export functions.
33 *
34 * @since 3.3.0
35 *
36 * @var object Import Export functions.
37 */
38 public $import_export;
39
40 /**
41 * Tools page.
42 *
43 * @since 3.3.0
44 *
45 * @var object Tools page.
46 */
47 public $tools_page;
48
49 /**
50 * Main constructor class.
51 *
52 * @since 3.3.0
53 */
54 public function __construct() {
55 $this->hooks();
56
57 $this->statistics = new Statistics();
58 }
59
60 /**
61 * Run the hooks.
62 *
63 * @since 3.3.0
64 */
65 public function hooks() {
66 add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
67 }
68
69 /**
70 * Enqueue scripts in admin area.
71 *
72 * @since 3.0.0
73 */
74 public function admin_enqueue_scripts() {
75 }
76 }
77