WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

OnboardingTasks::update_option_extended_task_list() public WC 1.0

Update registered extended task list items.

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

Return

null. Nothing.

Usage

$result = OnboardingTasks::update_option_extended_task_list();

Code of OnboardingTasks::update_option_extended_task_list() WC 5.3.0

<?php
public static function update_option_extended_task_list() {
	if (
		! \Automattic\WooCommerce\Admin\Loader::is_admin_page() ||
		! \Automattic\WooCommerce\Admin\Features\Onboarding::should_show_tasks()
	) {
		return;
	}
	$extended_tasks_list_items            = get_option( 'woocommerce_extended_task_list_items', array() );
	$registered_extended_tasks_list_items = apply_filters( 'woocommerce_get_registered_extended_tasks', array() );
	if ( $registered_extended_tasks_list_items !== $extended_tasks_list_items ) {
		update_option( 'woocommerce_extended_task_list_items', $registered_extended_tasks_list_items );
		update_option( 'woocommerce_extended_task_list_hidden', 'no' );
	}
}