includes/staticwp-view.class.php
public static function notice($slug, $type = null)
    {
        ob_start();
        self::template($slug, 'notice');

        $result = null;
        if ($type == null) {
            $result = ob_get_flush();
        } else {
            $result = array(
                'message' => ob_get_flush(),
                'type'    => $type,
            );
        }

        return $result;
    }
public static function notice($slug, $type = null)
    {
        ob_start();
        self::template($slug, 'notice');

        $result = null;
        if ($type == null) {
            $result = ob_get_flush();
        } else {
            $result = array(
                'message' => ob_get_flush(),
                'type'    => $type,
            );
        }

        return $result;
    }
public static function notice ( $ slug , $ type = null ) { ob_start ( ) ; self :: template ( $ slug , 'notice' ) ; $ result = null ; if ( $ type == null ) { $ result = ob_get_flush ( ) ; } else { $ result = array ( 'message' => ob_get_flush ( ) , 'type' => $ type , ) ; } return $ result ; }
Loads notice templates.

@since 1.3.0
@param string $slug

@return string|array
Loads notice templates .