Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Appearance::__construct()publicWC 1.0

Constructor

Method of the class: Appearance{}

No Hooks.

Return

null. Nothing.

Usage

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

Appearance::__construct() code WC 7.1.1

public function __construct( $task_list ) {
	parent::__construct( $task_list );
	add_action( 'admin_enqueue_scripts', array( $this, 'add_media_scripts' ) );
	add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_return_notice_script' ) );
}