class WpvShortcodeOverrides

 Methods

add filters

__construct() 

Returns the HTML for the column titles, based on their type

column_title(string $title, string $type) : string

Parameters

$title

string

title text

$type

string

title type

Returns

stringcolumn title html

Implements .swf oEmbeds

embed_handler_swf(array $matches, array $attr, string $url, array $rawattr) : string

Parameters

$matches

array

preg_match matches

$attr

array

embed attributes

$url

string

embed url

$rawattr

array

raw attributes

Returns

stringoutput html

Sets the excerpt length

excerpt_length(int $length) : int

Parameters

$length

int

original length

Returns

intexcerpt length

Sets the excerpt ending

excerpt_more(string $more) : string

Parameters

$more

string

original ending

Returns

stringexcerpt ending

Show the tab title if only one tab is to be displayed

multiwidget_single_title(string $only, string $title) 

Parameters

$only

string

tab slug

$title

string

tab title

Add the tabbed widget icons

multiwidget_tab_title(string $title, string $slug, string $single) : string

Parameters

$title

string

current tab title

$slug

string

current tab slug

$single

string

if this is the only tab shown

Returns

stringcurrent tab title with icon

Wrap oEmbeds in .wpv-video-frame

oembed_dataparse(string $output, object $data, string $url) : string

Parameters

$output

string

original oembed output

$data

object

data from the oEmbed provider

$url

string

original embed url

Returns

string$output wrapped in additional html

Correct image size for the multiwidget images

posts_widget_img_size(int $img_size, array $args) : int

Parameters

$img_size

int

original image size

$args

array

widget arguments

Returns

intimage size

Correct thumbnail name for the multiwidget images

posts_widget_thumbnail_name(string $img_size, array $args) : string

Parameters

$img_size

string

original thumbnail

$args

array

widget arguments

Returns

stringthumbnail name

Show the corrent icon for the team member social options

team_member_social_icon(string $icon) : string

Parameters

$icon

string

social network slug

Returns

stringicon slug