WPGraphQL
3 years ago
Enfold.php
4 years ago
Genesis.php
4 years ago
Jetpack.php
4 years ago
Polylang.php
2 years ago
Service_Provider.php
3 years ago
WPML.php
4 years ago
YARPP.php
4 years ago
Enfold.php
34 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Pods\Integrations; |
| 4 | |
| 5 | use Pods\Integration; |
| 6 | |
| 7 | /** |
| 8 | * Class Enfold |
| 9 | * |
| 10 | * @since 2.8.1 |
| 11 | */ |
| 12 | class Enfold extends Integration { |
| 13 | |
| 14 | /** |
| 15 | * @inheritdoc |
| 16 | */ |
| 17 | protected $hooks = [ |
| 18 | 'action' => [], |
| 19 | 'filter' => [ |
| 20 | 'avf_enqueue_wp_mediaelement' => [ '__return_true' ], |
| 21 | ], |
| 22 | ]; |
| 23 | |
| 24 | /** |
| 25 | * @inheritDoc |
| 26 | */ |
| 27 | public static function is_active() { |
| 28 | global $avia_config; |
| 29 | |
| 30 | return ! empty( $avia_config ); |
| 31 | } |
| 32 | |
| 33 | } |
| 34 |