Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Purchase::__construct()publicWC 1.0

Constructor

{} It's a method of the class: Purchase{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of Purchase::__construct() WC 6.6.1

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