[ Root System Explorer ]
Location:
Root
/
home
/
svaxkys
/
www
/
Arcomet
/
wp-content
/
plugins
/
wp-meteor
/
vendor
/
wpdesk
/
wp-notice
/
src
/
WPDesk
/
Notice
+ Folder
+ File
Upload
Editing: Factory.php
<?php namespace WPDesk\Notice; /** * Class Factory * * Factory for notices. * @package WPDesk\Notice */ class Factory { /** * Creates Notice object. * * @param string $noticeType Notice type. * @param string $noticeContent Notice content. * @param bool $isDismissible Is dismissible. * @param int $priority Priority. * * @return Notice */ public static function notice($noticeContent = '', $noticeType = 'info', $isDismissible = false, $priority = 10) { return new Notice($noticeContent, $noticeType, $isDismissible, $priority); } /** * Creates PermanentDismissibleNotice object. * * @param string $noticeContent * @param string $noticeType * @param string $noticeName * @param int $priority * * @return PermanentDismissibleNotice */ public static function permanentDismissibleNotice( $noticeContent = '', $noticeName = '', $noticeType = '', $priority = 10 ) { return new PermanentDismissibleNotice($noticeContent, $noticeName, $noticeType, $priority); } }
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 AjaxHandler.php
FILE
Ren
[EDIT]
DEL
📄 Factory.php
FILE
Ren
[EDIT]
DEL
📄 Notice.php
FILE
Ren
[EDIT]
DEL
📄 PermanentDismissibleNotice.php
FILE
Ren
[EDIT]
DEL
📁 views/
DIR
Ren
DEL