Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Purchase::__construct()publicWC 1.0

Constructor

Method of the class: Purchase{}

No Hooks.

Return

null. Nothing (null).

Usage

$Purchase = new Purchase();
$Purchase->__construct( $task_list );
$task_list(TaskList) (required)
Parent task list.

Purchase::__construct() code WC 8.6.1

public function __construct( $task_list ) {
	parent::__construct( $task_list );
	add_action( 'update_option_woocommerce_onboarding_profile', array( $this, 'clear_dismissal' ), 10, 2 );
}