AudioPreset.php
1 month ago
Block.php
10 months ago
CurrentUser.php
1 year ago
EmailCollection.php
1 year ago
Model.php
3 weeks ago
ModelInterface.php
1 year ago
Player.php
3 weeks ago
Post.php
1 year ago
Preset.php
1 month ago
ReusableVideo.php
1 month ago
Setting.php
1 year ago
Video.php
1 month ago
Webhook.php
1 year ago
Block.php
35 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Block model. |
| 4 | * |
| 5 | * @package PrestoPlayer\Models |
| 6 | */ |
| 7 | |
| 8 | namespace PrestoPlayer\Models; |
| 9 | |
| 10 | /** |
| 11 | * Block model. |
| 12 | */ |
| 13 | class Block { |
| 14 | /** |
| 15 | * Get the block types. |
| 16 | * |
| 17 | * @return array The block types. |
| 18 | */ |
| 19 | public static function getBlockTypes() { |
| 20 | return apply_filters( |
| 21 | 'presto_player_registered_block_types', |
| 22 | array( |
| 23 | 'presto-player/reusable-display', |
| 24 | 'presto-player/self-hosted', |
| 25 | 'presto-player/vimeo', |
| 26 | 'presto-player/youtube', |
| 27 | 'presto-player/bunny', |
| 28 | 'presto-player/audio', |
| 29 | 'presto-player/playlist', |
| 30 | 'presto-player/popup', |
| 31 | ) |
| 32 | ); |
| 33 | } |
| 34 | } |
| 35 |