Automattic\WooCommerce\Admin\API

LaunchYourStore::has_survey_completed()publicWC 1.0

Return woocommerce_admin_launch_your_store_survey_completed option.

Method of the class: LaunchYourStore{}

No Hooks.

Return

\WP_REST_Response.

Usage

$LaunchYourStore = new LaunchYourStore();
$LaunchYourStore->has_survey_completed();

LaunchYourStore::has_survey_completed() code WC 9.6.1

public function has_survey_completed() {
	return new \WP_REST_Response( get_option( 'woocommerce_admin_launch_your_store_survey_completed', 'no' ) );
}