class WPV_Portfolio

### Methods

## Register the shortcode

    __construct()

## Returns the number of portfolio items in a list of categories

    in_category(array $categories) : int

Static

### Parameters

#### $categories

`array`

array of categories

### Returns

`int`number of items

## Portfolio shortcode callback

    shortcode(array $atts, string $content, string $code) : string

Static

### Parameters

#### $atts

`array`

shortcode attributes

#### $content

`string`

shortcode content

#### $code

`string`

shortcode name

### Returns

`string`output html