# give/4.18.0/src/VendorOverrides/AdminNotices/AdminNoticesServiceProvider.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 37 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/VendorOverrides/AdminNotices/AdminNoticesServiceProvider.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/VendorOverrides/AdminNotices/AdminNoticesServiceProvider.php
- Modified: 2025-02-13T19:36:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/src/VendorOverrides/AdminNotices/AdminNoticesServiceProvider.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Give\VendorOverrides\AdminNotices;

use Give\ServiceProviders\ServiceProvider;
use Give\Vendors\StellarWP\AdminNotices\AdminNotices;

/**
 * Registers and boots the Admin Notices library
 *
 * @since 3.21.0
 *
 * @see https://github.com/stellarwp/admin-notices
 */
class AdminNoticesServiceProvider implements ServiceProvider {
    /**
     * {@inheritDoc}
     *
     * @since 3.21.0
     */
    public function register()
    {
        AdminNotices::initialize('givewp', GIVE_PLUGIN_URL . 'vendor/vendor-prefixed/stellarwp/admin-notices/');
    }

    /**
     * {@inheritDoc}
     *
     * @since 3.21.0
     */
    public function boot()
    {
    }
}

```
