WooCommerce Code Reference

WC_WCCOM_Site_Installation_Manager
in package

WC_WCCOM_Site_Installation_Manager class

Table of Contents

STEPS  = array('get_product_info', 'download_product', 'unpack_product', 'move_product', 'activate_product')
$idempotency_key  : string
The idempotency key.
$product_id  : int
The product ID.
__construct()  : mixed
Constructor.
reset_installation()  : bool
Get the next step to run.
run_installation()  : bool
Run the installation.
can_run_installation()  : void
Check if the installation can be run.
get_installation_steps()  : array<string|int, string>
Get the steps to run.
get_next_step()  : string
Get the next step to run.
run_step()  : void
Run the step.

Constants

Properties

Methods