Exceptions
1 week ago
GlobalStyles.php
3 years ago
LegacyServiceProvider.php
1 week ago
Onboarding.php
3 years ago
PaymentGateways.php
1 year ago
RequestType.php
3 years ago
RestAPI.php
8 months ago
Routes.php
4 years ago
ServiceProvider.php
4 years ago
GlobalStyles.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\ServiceProviders; |
| 4 | |
| 5 | class GlobalStyles implements ServiceProvider |
| 6 | { |
| 7 | /** @inheritDoc */ |
| 8 | public function register() |
| 9 | { |
| 10 | // This section intentionally left blank. |
| 11 | } |
| 12 | |
| 13 | /** @inheritDoc */ |
| 14 | public function boot() |
| 15 | { |
| 16 | add_action('admin_enqueue_scripts', function() { |
| 17 | wp_register_style('givewp-admin-fonts', 'https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap'); |
| 18 | }, -1); |
| 19 | } |
| 20 | } |
| 21 |