Class WC_Install

WC_Install Class

Package: WooCommerce\Classes
Author: WooThemes
Located at includes/class-wc-install.php

Methods summary

public
# __construct( )

Hook in tabs.

Hook in tabs.

public
# check_version( )

check_version function.

check_version function.

public
# install_actions( )

Install actions such as installing pages when a button is clicked.

Install actions such as installing pages when a button is clicked.

public
# install( )

Install WC

Install WC

public
# update( )

Handle updates

Handle updates

public static
# create_pages( )

Create pages that the plugin relies on, storing page id's in variables.

Create pages that the plugin relies on, storing page id's in variables.

public
# create_options( )

Default options

Default options

Sets up the default options used on the settings page

public
# create_roles( )

Create roles and capabilities

Create roles and capabilities

public array
# get_core_capabilities( )

Get capabilities for WooCommerce - these are assigned to admin/shop manager during installation or reset

Get capabilities for WooCommerce - these are assigned to admin/shop manager during installation or reset

Returns

array
public
# remove_roles( )

woocommerce_remove_roles function.

woocommerce_remove_roles function.

public string
# pre_update_option_active_plugins( string $new_value )

Active plugins pre update option filter

Active plugins pre update option filter

Parameters

$new_value
string
$new_value

Returns

string
public
# in_plugin_update_message( mixed $args )

Show plugin changes. Code adapted from W3 Total Cache.

Show plugin changes. Code adapted from W3 Total Cache.

Magic methods summary

WooCommerce API documentation generated by ApiGen 2.8.0