Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

StoreDetails::get_title()publicWC 1.0

Title.

Method of the class: StoreDetails{}

No Hooks.

Return

String.

Usage

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

StoreDetails::get_title() code WC 8.7.0

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' );
}