Significant refactoring, breaking things - ref #45
This commit is contained in:
25
includes/admin.php
Normal file
25
includes/admin.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
class CWV2_Admin {
|
||||
|
||||
/**
|
||||
* @var ContentWarning_v2
|
||||
*/
|
||||
public $plugin;
|
||||
|
||||
/**
|
||||
* CWV2_Admin constructor.
|
||||
*
|
||||
* @param ContentWarning_v2 $plugin
|
||||
*/
|
||||
public function __construct( $plugin ) {
|
||||
$this->plugin = $plugin;
|
||||
|
||||
$this->hooks();
|
||||
}
|
||||
|
||||
public function hooks() {
|
||||
// Do hooks etc...
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
class CWV2_Settings {
|
||||
// Stuff
|
||||
}
|
||||
|
Reference in New Issue
Block a user