WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Onboarding::add_actions() private WC 1.0

Add onboarding actions.

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

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->add_actions();

Code of Onboarding::add_actions() WC 5.3.0

<?php
private function add_actions() {
	// Rest API hooks need to run before is_admin() checks.
	add_action( 'woocommerce_theme_installed', array( $this, 'delete_themes_transient' ) );
	add_action( 'after_switch_theme', array( $this, 'delete_themes_transient' ) );
	add_action(
		'update_option_' . self::PROFILE_DATA_OPTION,
		array(
			$this,
			'trigger_profile_completed_action',
		),
		10,
		2
	);
	add_action( 'woocommerce_admin_plugins_pre_activate', array( $this, 'activate_and_install_jetpack_ahead_of_wcpay' ) );
	add_action( 'woocommerce_admin_plugins_pre_install', array( $this, 'activate_and_install_jetpack_ahead_of_wcpay' ) );

	// Always hook into Jetpack connection even if outside of admin.
	add_action( 'jetpack_site_registered', array( $this, 'set_woocommerce_setup_jetpack_opted_in' ) );

	if ( ! is_admin() ) {
		return;
	}

	add_action( 'admin_init', array( $this, 'admin_redirects' ) );
	add_action( 'current_screen', array( $this, 'finish_paypal_connect' ) );
	add_action( 'current_screen', array( $this, 'finish_square_connect' ) );
	add_action( 'current_screen', array( $this, 'add_help_tab' ), 60 );
	add_action( 'current_screen', array( $this, 'reset_profiler' ) );
	add_action( 'current_screen', array( $this, 'reset_task_list' ) );
	add_action( 'current_screen', array( $this, 'reset_extended_task_list' ) );
	add_action( 'current_screen', array( $this, 'redirect_wccom_install' ) );
	add_action( 'current_screen', array( $this, 'redirect_old_onboarding' ) );
}