class WPV_Blog

 Methods

Register the shortcode

__construct() 

Returns the number of posts in a list of categories

in_category(array $categories) : int
Static

Parameters

$categories

array

array of categories

Returns

intnumber of items

Blog shortcode callback

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

Parameters

$atts

array

shortcode attributes

$content

string

shortcode content

$code

string

shortcode name

Returns

stringoutput html