ServiceProvider.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Give\ThirdPartyCompatibility; |
| 5 | |
| 6 | use Give\Helpers\Hooks; |
| 7 | use Give\ServiceProviders\ServiceProvider as CoreServiceProvider; |
| 8 | use Give\ThirdPartyCompatibility\Divi\DeregisterEntityScripts; |
| 9 | |
| 10 | /** |
| 11 | * @since 4.5.0 |
| 12 | */ |
| 13 | class ServiceProvider implements CoreServiceProvider |
| 14 | { |
| 15 | public function register() |
| 16 | { |
| 17 | Hooks::addAction('wp_print_scripts', DeregisterEntityScripts::class); |
| 18 | } |
| 19 | |
| 20 | public function boot() |
| 21 | { |
| 22 | } |
| 23 | } |
| 24 |