woocommerce_admin_onboarding_tasks_add_default_tasks

woocommerce_admin_onboarding_tasks_add_default_tasks

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.6.3.1

apply_filters('woocommerce_admin_onboarding_tasks_add_default_tasks') is found 1 times:

  • /packages/woocommerce-admin/src/Features/OnboardingTasks/TaskLists.php line 180
    	/**
    	 * Add default task lists.
    	 */
    	public static function maybe_add_default_tasks() {
    		if ( ! apply_filters( 'woocommerce_admin_onboarding_tasks_add_default_tasks', ! self::$default_tasks_loaded ) ) {
    			return;
    		}
    
    		self::$default_tasks_loaded = true;
    
    		foreach ( self::DEFAULT_TASKS as $task_name ) {