Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

StoreDetails::get_title()publicWC 1.0

Title.

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

No Hooks.

Return

String.

Usage

$StoreDetails = new StoreDetails();
$StoreDetails->get_title();

Code of StoreDetails::get_title() WC 6.6.1

public function get_title() {
	if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
		if ( $this->is_complete() ) {
			return __( 'You added store details', 'woocommerce' );
		}
		return __( 'Add store details', 'woocommerce' );
	}
	return __( 'Store details', 'woocommerce' );
}