| 1 |
<?php |
| 2 |
namespace StoreEngine; |
| 3 |
|
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; |
| 6 |
} |
| 7 |
|
| 8 |
use StoreEngine\Post\Dashboard; |
| 9 |
use StoreEngine\Post\ForgotPassword; |
| 10 |
use StoreEngine\Post\Register; |
| 11 |
|
| 12 |
class Post { |
| 13 |
public static function init() { |
| 14 |
$self = new self(); |
| 15 |
$self->dispatch_hooks(); |
| 16 |
} |
| 17 |
public function dispatch_hooks() { |
| 18 |
( new Dashboard() )->dispatch_actions(); |
| 19 |
( new ForgotPassword() )->dispatch_actions(); |
| 20 |
( new Register() )->dispatch_actions(); |
| 21 |
} |
| 22 |
} |
| 23 |
|