Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
StoreDetails::get_title
Title.
Method of the class: StoreDetails{}
No Hooks.
Returns
String.
Usage
$StoreDetails = new StoreDetails(); $StoreDetails->get_title();
StoreDetails::get_title() StoreDetails::get title code WC 10.4.3
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' );
}