Convert
3 weeks ago
Core
3 weeks ago
Integration
3 weeks ago
Tools
3 weeks ago
App.php
3 weeks ago
AppAssets.php
3 weeks ago
App.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPParsidate\App; |
| 4 | |
| 5 | defined( 'ABSPATH' ) || exit; |
| 6 | |
| 7 | use WPParsidate\App\Convert\Convert; |
| 8 | use WPParsidate\App\Core\Core; |
| 9 | use WPParsidate\App\Integration\Integration; |
| 10 | use WPParsidate\App\Tools\Tools; |
| 11 | |
| 12 | class App { |
| 13 | public function __construct() { |
| 14 | new AppAssets(); |
| 15 | new Core(); |
| 16 | new Convert(); |
| 17 | new Tools(); |
| 18 | new Integration(); |
| 19 | |
| 20 | add_action( 'init', [ $this, 'init' ], 0 ); |
| 21 | } |
| 22 | |
| 23 | public function init(): void { |
| 24 | do_action( 'wp_parsidate_addons_load' ); |
| 25 | do_action( 'wp_parsidate_init' ); |
| 26 | } |
| 27 | } |
| 28 |