diff --git a/src/WPDesk/Notice/AjaxHandler.php b/src/WPDesk/Notice/AjaxHandler.php index a45232197919f2d156abdb4aa86df2f6593f36de..577bcc11869ddd40d7ddfb7563f0957a66bee1c2 100644 --- a/src/WPDesk/Notice/AjaxHandler.php +++ b/src/WPDesk/Notice/AjaxHandler.php @@ -7,6 +7,9 @@ use WPDesk\PluginBuilder\Plugin\PluginAccess; /** * Class AjaxHandler + * + * AjaxHandler for dismissible notices. + * * @package WPDesk\Notice */ class AjaxHandler implements HookablePluginDependant diff --git a/src/WPDesk/Notice/Factory.php b/src/WPDesk/Notice/Factory.php index 2e0430cc25f7f0e60d95982e6098b173b93d1346..2deacf115b81f7bbdf10c8940767bf9c66fca306 100644 --- a/src/WPDesk/Notice/Factory.php +++ b/src/WPDesk/Notice/Factory.php @@ -4,6 +4,8 @@ namespace WPDesk\Notice; /** * Class Factory + * + * Factory for notices. * @package WPDesk\Notice */ class Factory diff --git a/src/WPDesk/Notice/Notice.php b/src/WPDesk/Notice/Notice.php index f385dacbbb3665854de12dc9a0d9e8e6544345ce..57c774d22203c5e10fc8e831fdaded1d0e6298fd 100644 --- a/src/WPDesk/Notice/Notice.php +++ b/src/WPDesk/Notice/Notice.php @@ -4,6 +4,8 @@ namespace WPDesk\Notice; /** * Class Notice + * + * WordPress admin notice. * @package WPDesk\Notice */ class Notice diff --git a/src/WPDesk/Notice/PermanentDismissibleNotice.php b/src/WPDesk/Notice/PermanentDismissibleNotice.php index a2e606f0a72cdbbce00438b8f5555cb76f9650ff..ea31b5aabbf4cf8f99bb6154a69fd9cee7094a7c 100644 --- a/src/WPDesk/Notice/PermanentDismissibleNotice.php +++ b/src/WPDesk/Notice/PermanentDismissibleNotice.php @@ -4,6 +4,8 @@ namespace WPDesk\Notice; /** * Class PermanentDismissibleNotice + * + * WordPress admin dismissible notice. * @package WPDesk\Notice */ class PermanentDismissibleNotice extends Notice diff --git a/src/WPDesk/functions.php b/src/WPDesk/functions.php index 74c950c3c0f0b646a185957e2daad5928d23e8a1..c7f6dd261e99c9f8f334bcb8c407bb9542e7ccf0 100644 --- a/src/WPDesk/functions.php +++ b/src/WPDesk/functions.php @@ -18,6 +18,8 @@ function WPDeskNotice($noticeContent, $noticeType = 'info', $dismissible = false /** * Creates Notice. * + * Alias for {@see WPDeskNotice()} function. + * * @param string $noticeContent Notice content. * @param string $noticeType Notice type. * @param bool $dismissible Dismissible notice. @@ -47,6 +49,8 @@ function WPDeskPermanentDismissibleNotice($noticeContent, $noticeType = 'info', /** * Creates Permanent Dismissible Notice. * + * Alias for {@see WPDeskPermanentDismissibleNotice()} function. + * * @param string $noticeContent Notice content. * @param string $noticeType Notice type. * @param int $priority Notice priority.