Functions

dimox_breadcrumbs()

dimox_breadcrumbs($delimiter) 

Parameters

$delimiter

edit_portfolio_columns()

edit_portfolio_columns($portfolio_columns) 

Parameters

$portfolio_columns

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

manage_portfolio_columns()

manage_portfolio_columns($column) 

Parameters

$column

shortcode_preview_styles()

shortcode_preview_styles() 

shortcodes_tinymce()

shortcodes_tinymce() 

shortcodes_tinymce_button()

shortcodes_tinymce_button($buttons) 

Parameters

$buttons

shortcodes_tinymce_plugin()

shortcodes_tinymce_plugin($plugin_array) 

Parameters

$plugin_array

theme_background_styles()

theme_background_styles() 

theme_body_classes()

theme_body_classes($body_class) 

Parameters

$body_class

theme_version_check()

theme_version_check() 

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')

wp_register_theme_activation_hook()

wp_register_theme_activation_hook(string $code, callback $function) 
desc registers a theme activation hook

Parameters

$code

string

: Code of the theme. This can be the base folder of your theme. Eg if your theme is in folder 'mytheme' then code will be 'mytheme'

$function

callback

: Function to call when theme gets activated.

wp_register_theme_deactivation_hook()

wp_register_theme_deactivation_hook(string $code, callback $function) 
desc registers deactivation hook

Parameters

$code

string

: Code of the theme. This must match the value you provided in wp_register_theme_activation_hook function as $code

$function

callback

: Function to call when theme gets deactivated.

wpv_add_admin_menu_separator()

wpv_add_admin_menu_separator($position) 

Parameters

$position

wpv_ajaxed_post_portfolio()

wpv_ajaxed_post_portfolio() 

wpv_all_icons()

wpv_all_icons($atts, $content) 

Parameters

$atts

$content

wpv_code_after_filter()

wpv_code_after_filter($content) 

Parameters

$content

wpv_code_after_filter_callback()

wpv_code_after_filter_callback($match) 

Parameters

$match

wpv_code_before_filter()

wpv_code_before_filter($content) 

Parameters

$content

wpv_code_before_filter_callback()

wpv_code_before_filter_callback($match) 

Parameters

$match

wpv_custom_js()

wpv_custom_js() 

wpv_customcss()

wpv_customcss() 

helper function - returns second argument when the first is empty, otherwise returns the first

wpv_default($value, $default) 

Parameters

$value

$default

delete_option wrapper

wpv_delete_option(string $name) 
uses \global\delete_option()

Parameters

$name

string

option name

wpv_description()

wpv_description($id, $desc) 

Parameters

$id

$desc

Called after the CSS cache is generated

wpv_finalize_custom_css() 

wpv_fix_br()

wpv_fix_br($content) 

Parameters

$content

wpv_fix_shortcodes()

wpv_fix_shortcodes($content) 

Parameters

$content

wpv_font_preview_callback()

wpv_font_preview_callback() 

wpv_ga_script()

wpv_ga_script() 

wpv_get_attachment_file()

wpv_get_attachment_file($src) 

Parameters

$src

wpv_get_attachment_id()

wpv_get_attachment_id($url) 

wpv_get_central_column_width()

wpv_get_central_column_width() 

wpv_get_export_data()

wpv_get_export_data($file) 

Parameters

$file

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_header_sidebars()

wpv_get_header_sidebars($title) 

Parameters

$title

wpv_get_icon()

wpv_get_icon($key) 

Parameters

$key

Returns the list of Icomoon icons

wpv_get_icon_list() : array

Returns

arraylist of icons

Returns the list of Icomoon icons

wpv_get_icon_list() : array

Returns

arraylist 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() 

wpv_get_lazy_load()

wpv_get_lazy_load($url, $alt, $atts) 

Parameters

$url

$alt

$atts

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

mixedoption 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

mixedoption value

wpv_get_portfolio_options()

wpv_get_portfolio_options($group, $rel_group) 

Parameters

$group

$rel_group

wpv_get_portfolio_terms()

wpv_get_portfolio_terms() 

wpv_get_the_ID()

wpv_get_the_ID() 

Returns the list of theme icons

wpv_get_theme_icon_list() : array

Returns

arraylist of icons

Returns the list of theme icons

wpv_get_theme_icon_list() : array

Returns

arraylist of icons

Alias for function_exists('is_woocommerce')

wpv_has_woocommerce() : bool

Returns

boolwhether WooCommerce is active

wpv_icon()

wpv_icon($key) 

Parameters

$key

wpv_icon_type()

wpv_icon_type($icon) 

Parameters

$icon

wpv_importer_init()

wpv_importer_init() 

wpv_internal_adminbar()

wpv_internal_adminbar() 

wpv_invalid_install()

wpv_invalid_install() 

wpv_is_post_type()

wpv_is_post_type($type, $post_types) 

Parameters

$type

$post_types

wpv_is_reduced_response()

wpv_is_reduced_response() 

wpv_lazy_load()

wpv_lazy_load($url, $alt, $atts) 

Parameters

$url

$alt

$atts

icon() function for LESSPHP

wpv_lessphp_icon(string $arg) : array

Parameters

$arg

string

icon name

Returns

arrayLESSPHP token

Same as chr() but for unicode

wpv_mb_chr(int $char) : string

Parameters

$char

int

character number

Returns

stringcharacter

Same as chr() but for unicode

wpv_mb_chr(int $char) : string

Parameters

$char

int

character number

Returns

stringcharacter

echos the html for the page's featured image

wpv_page_image() : \'no-image'

Returns

\'no-image'or'fullimage'

wpv_post_siblings_join()

wpv_post_siblings_join($join, $in_same_cat, $excluded_categories) 

Parameters

$join

$in_same_cat

$excluded_categories

wpv_post_siblings_where()

wpv_post_siblings_where($where, $in_same_cat, $excluded_categories) 

Parameters

$where

$in_same_cat

$excluded_categories

wpv_prepare_url()

wpv_prepare_url($url) 

Parameters

$url

wpv_reduced_delim()

wpv_reduced_delim() 

wpv_remove_empty_p()

wpv_remove_empty_p($content) 

Parameters

$content

Map an accent name to its value

wpv_sanitize_accent(string $color) : string

Parameters

$color

string

accent name

Returns

stringhex 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

mixedsanitized value

wpv_sanitize_portfolio_item_type()

wpv_sanitize_portfolio_item_type($type) 

Parameters

$type

wpv_save_config()

wpv_save_config($options) 

Parameters

$options

wpv_save_option_by_id()

wpv_save_option_by_id($id, $type) 

Parameters

$id

$type

wpv_save_options_callback()

wpv_save_options_callback() 

displays a button

wpv_shortcode_button($atts, $content, $code) 

Parameters

$atts

$content

$code

wpv_shortcode_dropcap()

wpv_shortcode_dropcap($atts, $content, $code) 

Parameters

$atts

$content

$code

wpv_shortcode_generator()

wpv_shortcode_generator() 

wpv_shortcode_highlight()

wpv_shortcode_highlight($atts, $content, $code) 

Parameters

$atts

$content

$code

wpv_shortcode_icon()

wpv_shortcode_icon($atts, $content) 

Parameters

$atts

$content

wpv_shortcode_inline_divider()

wpv_shortcode_inline_divider($atts, $content, $code) 

Parameters

$atts

$content

$code

displays some content in a lightbox

wpv_shortcode_lightbox($atts, $content, $code) 

icons: zoom, doc, play

Parameters

$atts

$content

$code

wpv_shortcode_list()

wpv_shortcode_list($atts, $content, $code) 

Parameters

$atts

$content

$code

wpv_shortcode_slider()

wpv_shortcode_slider($atts, $content, $code) 

Parameters

$atts

$content

$code

wpv_shortcode_tooltip()

wpv_shortcode_tooltip($atts, $content, $code) 

Parameters

$atts

$content

$code

wpv_static()

wpv_static($option) 

Parameters

$option

wpv_str_to_width()

wpv_str_to_width($frac) 

Parameters

$frac

wpv_sub_shortcode()

wpv_sub_shortcode($name, $content, $params, $sub_contents) 

Parameters

$name

$content

$params

$sub_contents

wpv_theme_activated()

wpv_theme_activated() 

wpv_theme_deactivated()

wpv_theme_deactivated() 

wpv_tinymce_lang()

wpv_tinymce_lang() 

wpv_update_generated_css()

wpv_update_generated_css() 

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

wpv_validate_install()

wpv_validate_install() 

wpv_widget_importer_init()

wpv_widget_importer_init() 

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

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.

Ouput all navigation menu terms

wxr_nav_menu_terms() 
since 3.1.0

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

stringSite 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

Classes and interfaces

A

Simple class used to generate a test PHPDocumentor documentation.

« More »

Version_Checker

« More »

WPV_Accordion

« More »

WPV_Blank

« More »

WPV_Blockquote

class WPV_Blockquote

« More »

WPV_Blog

class WPV_Blog

« More »

WPV_Columns

class WPV_Columns

« More »

WPV_Contact_Info

« More »

WPV_Divider

« More »

WPV_Editor

« More »

WPV_Editor_AJAX

« More »

WPV_Editor_Parser

class WPV_Editor_Parser

« More »

WPV_Editor_Shortcode_Config

class WPV_Editor_Shortcode_Config

« More »

WPV_Expandable

Expandable services shortcode handler

« More »

WPV_Flickr

« More »

WPV_Flickr_Widget

contact info widget

« More »

WPV_Gmap

« More »

WPV_Iframe

« More »

WPV_Import

« More »

WPV_Linkarea

« More »

WPV_Portfolio

class WPV_Portfolio

« More »

WPV_Price

« More »

WPV_Services

« More »

WPV_Sitemap

« More »

WPV_Slogan

class WPV_Slogan

« More »

WPV_Tabs

« More »

WPV_Team_Member

« More »

WPV_Text

« More »

WPV_Text_Divider

class WPV_Text_Divider

« More »

WPV_WXR_Parser

WordPress Importer class for managing parsing of WXR files.

« More »

WPV_WXR_Parser_Regex

WXR Parser that uses regular expressions.

« More »

WPV_Widget_Import

« More »

WPV_Widget_Post_Formats

« More »

WpvAdmin

class WpvAdmin

« More »

WpvAjax

class WpvAjax

« More »

WpvConfigGenerator

class WpvConfigGenerator

« More »

WpvEnqueues

class WpvEnqueues

« More »

WpvFancyPortfolio

class WpvFancyPortfolio

« More »

WpvFormatFilter

class WpvFormatFilter

« More »

WpvFramework

This is the first loaded framework file

« More »

WpvIconsHelper

class WpvIconsHelper

« More »

WpvLess

class WpvLess

« More »

WpvMetaboxesGenerator

class WpvMetaboxesGenerator

« More »

WpvPostFormats

class WpvPostFormats

« More »

WpvShortcodeMapTrigger

class WpvShortcodeMapTrigger

« More »

WpvShortcodeOverrides

class WpvShortcodeOverrides

« More »

WpvShortcodesGenerator

class WpvShortcodesGenerator

« More »

WpvSidebarInterface

« More »

WpvSidebars

class WpvSidebars

« More »

WpvSkinManagement

class WpvSkinManagement

« More »

WpvTemplates

class WpvTemplates

« More »

wpv_advertisement

advertisement widget

« More »

wpv_authors

author list

« More »

wpv_contactinfo

« More »

wpv_gmap_widget

google map widget

« More »

wpv_posts

posts widget

« More »

wpv_subpages

list either subpages or siblings

« More »

Constants

 

IMPORT_DEBUG

IMPORT_DEBUG 
 

IMPORT_DEBUG

IMPORT_DEBUG 
 

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_ARCHIVE_TEMPLATE

WPV_ARCHIVE_TEMPLATE 
 

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_EDITOR_ASSETS

WPV_EDITOR_ASSETS 
 

WPV_EDITOR_ASSETS_DIR

WPV_EDITOR_ASSETS_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_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 
 

WXR_VERSION

WXR_VERSION