Significant refactoring, breaking things - ref #45

This commit is contained in:
Jay Wood
2016-07-01 11:34:44 -04:00
parent d9959c6cd4
commit c6a71c2976
4 changed files with 303 additions and 2 deletions

25
includes/admin.php Normal file
View 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...
}
}

View File

@ -0,0 +1,5 @@
<?php
class CWV2_Settings {
// Stuff
}