### Functions

## Redefine woocommerce_output_related_products()

    woocommerce_output_related_products()

## woocommerce_pagination()

    woocommerce_pagination()

## wrap the product thumbnails in div.product-thumbnail

    woocommerce_template_loop_product_thumbnail()

## star rating for the shop loop, related product, etc.

    woocommerce_template_loop_rating()

## Output product up sells.

    woocommerce_upsell_display(int $posts_per_page, int $columns, string $orderby)

### Parameters

#### $posts_per_page

`int`

(default: -1)

#### $columns

`int`

(default: 4)

#### $orderby

`string`

(default: 'rand')

## wpv_customcss()

    wpv_customcss()

## delete_option wrapper

    wpv_delete_option(string $name)

uses | \global\delete_option()

### Parameters

#### $name

`string`

option name

## Called after the CSS cache is generated

    wpv_finalize_custom_css()

## returns the external font url based on the font family

    wpv_get_font_url(string $font, string $weight)

### Parameters

#### $font

`string`

font-family

#### $weight

`string`

font-weight

## wpv_get_icon()

    wpv_get_icon($key)

### Parameters

#### $key

## Returns the list of Icomoon icons

    wpv_get_icon_list() : array

### Returns

`array`list of icons

## Returns the list of Icomoon icons

    wpv_get_icon_list() : array

### Returns

`array`list of icons

## wpv_get_icon_num()

    wpv_get_icon_num($key)

### Parameters

#### $key

## wpv_get_icon_type()

    wpv_get_icon_type($icon)

### Parameters

#### $icon

## wpv_get_icons_extended()

    wpv_get_icons_extended()

## get_option wrapper

    wpv_get_option(string $name, mixed $default, bool $stripslashes) : mixed

uses | \global\get_option()

### Parameters

#### $name

`string`

option name

#### $default

`mixed`

default value

#### $stripslashes

`bool`

whether to filter the result with stripslashes()

### Returns

`mixed`option value

## Same as wpv_get_option, but converts '1' and '0' to booleans

    wpv_get_optionb(string $name, mixed $default, bool $stripslashes) : mixed

uses | \global\wpv_get_option()

### Parameters

#### $name

`string`

option name

#### $default

`mixed`

default value

#### $stripslashes

`bool`

whether to filter the result with stripslashes()

### Returns

`mixed`option value

## Returns the list of theme icons

    wpv_get_theme_icon_list() : array

### Returns

`array`list of icons

## Returns the list of theme icons

    wpv_get_theme_icon_list() : array

### Returns

`array`list of icons

## Alias for function_exists('is_woocommerce')

    wpv_has_woocommerce() : bool

### Returns

`bool`whether WooCommerce is active

## wpv_icon()

    wpv_icon($key)

### Parameters

#### $key

## wpv_icon_type()

    wpv_icon_type($icon)

### Parameters

#### $icon

## wpv_internal_adminbar()

    wpv_internal_adminbar()

## icon() function for LESSPHP

    wpv_lessphp_icon(string $arg) : array

### Parameters

#### $arg

`string`

icon name

### Returns

`array`LESSPHP token

## Same as chr() but for unicode

    wpv_mb_chr(int $char) : string

### Parameters

#### $char

`int`

character number

### Returns

`string`character

## Same as chr() but for unicode

    wpv_mb_chr(int $char) : string

### Parameters

#### $char

`int`

character number

### Returns

`string`character

## Map an accent name to its value

    wpv_sanitize_accent(string $color) : string

### Parameters

#### $color

`string`

accent name

### Returns

`string`hex color or the input string

## Converts '1', '0', 'true' and 'false' to booleans, otherwise returns $value

    wpv_sanitize_bool(mixed $value) : mixed

### Parameters

#### $value

`mixed`

original value

### Returns

`mixed`sanitized value

## update_option() wrapper

    wpv_update_option(string $name, mixed $new_value)

uses | \global\update_option()

### Parameters

#### $name

`string`

option name

#### $new_value

`mixed`

option value

## marks a font as "used"

    wpv_use_font(string $opt_id)

### Parameters

#### $opt_id

`string`

option name

## WooCommerce catalog/related products excerpt

    wpv_woocommerce_catalog_excerpt()

## star rating used in the single product template

    wpv_woocommerce_rating()

## Single product social sharing

    wpv_woocommerce_share()

## Same as wpv_get_option, but echoes the value instead of returning it

    wpvge(string $name, mixed $default, bool $stripslashes, boolean $boolean)

uses | \global\wpv_get_option()

### Parameters

#### $name

`string`

option name

#### $default

`mixed`

default value

#### $stripslashes

`bool`

whether to filter the result with stripslashes()

#### $boolean

`boolean`

whether to cast the value to bool

### Classes and interfaces

# WPV_Expandable¶

Expandable services shortcode handler

« More »

### Constants

## THEME_DIR

    THEME_DIR

## THEME_NAME

    THEME_NAME

## THEME_SLUG

    THEME_SLUG

## THEME_URI

    THEME_URI

## VAMTAM_EDITOR_IN_THEME

    VAMTAM_EDITOR_IN_THEME

## WPV_ADMIN

    WPV_ADMIN

## WPV_ADMIN_AJAX

    WPV_ADMIN_AJAX

## WPV_ADMIN_AJAX_DIR

    WPV_ADMIN_AJAX_DIR

## WPV_ADMIN_ASSETS_URI

    WPV_ADMIN_ASSETS_URI

## WPV_ADMIN_HELPERS

    WPV_ADMIN_HELPERS

## WPV_ADMIN_METABOXES

    WPV_ADMIN_METABOXES

## WPV_ADMIN_OPTIONS

    WPV_ADMIN_OPTIONS

## WPV_ADMIN_TYPES

    WPV_ADMIN_TYPES

## WPV_ADMIN_URI

    WPV_ADMIN_URI

## WPV_ASSETS_DIR

    WPV_ASSETS_DIR

## WPV_ASSETS_URI

    WPV_ASSETS_URI

## WPV_CACHE_DIR

    WPV_CACHE_DIR

## WPV_CACHE_URI

    WPV_CACHE_URI

## WPV_DIR

    WPV_DIR

## WPV_FONTS_URI

    WPV_FONTS_URI

## WPV_HELPERS

    WPV_HELPERS

## WPV_IMAGES

    WPV_IMAGES

## WPV_IMPORTERS

    WPV_IMPORTERS

## WPV_INCLUDES

    WPV_INCLUDES

## WPV_JS

    WPV_JS

## WPV_LAYOUT

    WPV_LAYOUT

## WPV_LAYOUT

    WPV_LAYOUT

## WPV_LAYOUT

    WPV_LAYOUT

## WPV_LAYOUT

    WPV_LAYOUT

## WPV_LAYOUT

    WPV_LAYOUT

## WPV_LAYOUT_TYPE

    WPV_LAYOUT_TYPE

## WPV_LAYOUT_TYPE

    WPV_LAYOUT_TYPE

## WPV_LAYOUT_TYPE

    WPV_LAYOUT_TYPE

## WPV_NO_PAGE_CONTENT

    WPV_NO_PAGE_CONTENT

## WPV_PLUGINS

    WPV_PLUGINS

## WPV_PLUGINS_URI

    WPV_PLUGINS_URI

## WPV_RESPONSIVE

    WPV_RESPONSIVE

## WPV_SAMPLES_DIR

    WPV_SAMPLES_DIR

## WPV_SAMPLES_URI

    WPV_SAMPLES_URI

## WPV_SAVED_OPTIONS

    WPV_SAVED_OPTIONS

## WPV_SAVED_OPTIONS_URI

    WPV_SAVED_OPTIONS_URI

## WPV_SHORTCODES

    WPV_SHORTCODES

## WPV_SHORTCODES_GENERATOR

    WPV_SHORTCODES_GENERATOR

## WPV_SWF

    WPV_SWF

## WPV_THEME_ASSETS_DIR

    WPV_THEME_ASSETS_DIR

## WPV_THEME_ASSETS_URI

    WPV_THEME_ASSETS_URI

## WPV_THEME_CSS

    WPV_THEME_CSS

## WPV_THEME_CSS_DIR

    WPV_THEME_CSS_DIR

## WPV_THEME_DIR

    WPV_THEME_DIR

## WPV_THEME_HELPERS

    WPV_THEME_HELPERS

## WPV_THEME_IMAGES

    WPV_THEME_IMAGES

## WPV_THEME_METABOXES

    WPV_THEME_METABOXES

## WPV_THEME_OPTIONS

    WPV_THEME_OPTIONS

## WPV_THEME_SAMPLE_CONTENT

    WPV_THEME_SAMPLE_CONTENT

## WPV_THEME_SAMPLE_WIDGETS

    WPV_THEME_SAMPLE_WIDGETS

## WPV_THEME_URI

    WPV_THEME_URI

## WPV_TYPES

    WPV_TYPES

## WPV_URI

    WPV_URI

## WPV_WIDGETS

    WPV_WIDGETS

## WPV_WIDGETS_ASSETS

    WPV_WIDGETS_ASSETS

## WPV_WIDGETS_TPL

    WPV_WIDGETS_TPL

### Functions

## Generates the WXR export file for download

    export_wp(array $args)

since | 2.1.0

### Parameters

#### $args

`array`

Filters defining what should be included in the export

## Output list of authors with posts

    wxr_authors_list()

since | 3.1.0

## Output a cat_name XML tag from a given category object

    wxr_cat_name(object $category)

since | 2.1.0

### Parameters

#### $category

`object`

Category Object

## Output a category_description XML tag from a given category object

    wxr_category_description(object $category)

since | 2.1.0

### Parameters

#### $category

`object`

Category Object

## Wrap given string in XML CDATA tag.

    wxr_cdata(string $str)

since | 2.1.0

### Parameters

#### $str

`string`

String to wrap in XML CDATA tag.

## Output list of taxonomy terms, in XML tag format, associated with a post

    wxr_post_taxonomy()

since | 2.3.0

## Return the URL of the site

    wxr_site_url() : string

since | 2.5.0

### Returns

`string`Site URL.

## Output a tag_description XML tag from a given tag object

    wxr_tag_description(object $tag)

since | 2.3.0

### Parameters

#### $tag

`object`

Tag Object

## Output a tag_name XML tag from a given tag object

    wxr_tag_name(object $tag)

since | 2.3.0

### Parameters

#### $tag

`object`

Tag Object

## Output a term_description XML tag from a given term object

    wxr_term_description(object $term)

since | 2.9.0

### Parameters

#### $term

`object`

Term Object

## Output a term_name XML tag from a given term object

    wxr_term_name(object $term)

since | 2.9.0

### Parameters

#### $term

`object`

Term Object

### Constants

## WXR_VERSION

    WXR_VERSION

### Functions

## wpv_get_export_data()

    wpv_get_export_data($file)

### Parameters

#### $file

## wpv_importer_init()

    wpv_importer_init()

### Constants

## IMPORT_DEBUG

    IMPORT_DEBUG

### Functions

## wpv_widget_importer_init()

    wpv_widget_importer_init()

### Constants

## IMPORT_DEBUG

    IMPORT_DEBUG

### Constants

## WPV_EDITOR_ASSETS

    WPV_EDITOR_ASSETS

## WPV_EDITOR_ASSETS_DIR

    WPV_EDITOR_ASSETS_DIR