public function adminNotice($message, $type = 'success')
    {
        MbWPActionHook::addActionCallback('admin_notices', function () use ($message, $type) {
            echo self::adminNoticeTemplate($message, $type);
        });
    }
public function adminNotice($message, $type = 'success')
    {
        MbWPActionHook::addActionCallback('admin_notices', function () use ($message, $type) {
            echo self::adminNoticeTemplate($message, $type);
        });
    }
public function adminNotice ( $ message , $ type = 'success' ) { MbWPActionHook :: addActionCallback ( 'admin_notices' , function ( ) use ( $ message , $ type ) { echo self :: adminNoticeTemplate ( $ message , $ type ) ; } ) ; }
Post an admin notice on the dashboard

@param string $message
@param string $type
Post an admin notice on the dashboard