app.php
76 lines
| 1 | <?php |
| 2 | |
| 3 | return [ |
| 4 | /* |
| 5 | |-------------------------------------------------------------------------- |
| 6 | | Autoloaded Components |
| 7 | |-------------------------------------------------------------------------- |
| 8 | | |
| 9 | | The component classes listed here will be automatically loaded on the |
| 10 | | request to your application. |
| 11 | | |
| 12 | */ |
| 13 | 'components' => [ |
| 14 | // seeder |
| 15 | \PrestoPlayer\Seeds\Seeder::class, |
| 16 | |
| 17 | // files |
| 18 | \PrestoPlayer\Files::class, |
| 19 | \PrestoPlayer\Attachment::class, |
| 20 | |
| 21 | // blocks |
| 22 | \PrestoPlayer\Blocks\SelfHostedBlock::class, |
| 23 | \PrestoPlayer\Blocks\YouTubeBlock::class, |
| 24 | \PrestoPlayer\Blocks\VimeoBlock::class, |
| 25 | \PrestoPlayer\Blocks\ReusableVideoBlock::class, |
| 26 | \PrestoPlayer\Blocks\ReusableEditBlock::class, |
| 27 | \PrestoPlayer\Blocks\AudioBlock::class, |
| 28 | |
| 29 | // block services |
| 30 | \PrestoPlayer\Services\Blocks\YoutubeBlockService::class, |
| 31 | \PrestoPlayer\Services\Blocks\VimeoBlockService::class, |
| 32 | |
| 33 | // integrations |
| 34 | \PrestoPlayer\Integrations\Kadence::class, |
| 35 | \PrestoPlayer\Integrations\Divi\Divi::class, |
| 36 | \PrestoPlayer\Integrations\Elementor\Elementor::class, |
| 37 | \PrestoPlayer\Integrations\BeaverBuilder\BeaverBuilder::class, |
| 38 | \PrestoPlayer\Integrations\LearnDash\LearnDash::class, |
| 39 | \PrestoPlayer\Integrations\Tutor\Tutor::class, |
| 40 | \PrestoPlayer\Integrations\Lifter\Lifter::class, |
| 41 | |
| 42 | // services |
| 43 | \PrestoPlayer\Services\Migrations::class, |
| 44 | \PrestoPlayer\Services\Translation::class, |
| 45 | \PrestoPlayer\Services\Player::class, |
| 46 | \PrestoPlayer\Services\Shortcodes::class, |
| 47 | \PrestoPlayer\Services\Menu::class, |
| 48 | \PrestoPlayer\Services\Scripts::class, |
| 49 | \PrestoPlayer\Services\Blocks::class, |
| 50 | \PrestoPlayer\Services\Settings::class, |
| 51 | \PrestoPlayer\Services\VideoPostType::class, |
| 52 | \PrestoPlayer\Services\ReusableVideos::class, |
| 53 | \PrestoPlayer\Services\AdminNotices::class, |
| 54 | \PrestoPlayer\Services\ProCompatibility::class, |
| 55 | \PrestoPlayer\Services\Compatibility::class, |
| 56 | \PrestoPlayer\Services\AjaxActions::class, |
| 57 | |
| 58 | // api |
| 59 | \PrestoPlayer\Services\API\RestPresetsController::class, |
| 60 | \PrestoPlayer\Services\API\RestAudioPresetsController::class, |
| 61 | \PrestoPlayer\Services\API\RestSettingsController::class, |
| 62 | \PrestoPlayer\Services\API\RestVideosController::class, |
| 63 | ], |
| 64 | |
| 65 | /* |
| 66 | |-------------------------------------------------------------------------- |
| 67 | | Autoloaded Pro Components |
| 68 | |-------------------------------------------------------------------------- |
| 69 | | |
| 70 | | The component classes listed here will be automatically loaded |
| 71 | | if another plugin adds to this filter |
| 72 | | |
| 73 | */ |
| 74 | 'pro_components' => apply_filters('presto_player_pro_components', []) |
| 75 | ]; |
| 76 |