Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Shipping::get_title()
Title.
{} It's a method of the class: Shipping{}
No Hooks.
Return
String
.
Usage
$Shipping = new Shipping(); $Shipping->get_title();
Code of Shipping::get_title() Shipping::get title WC 6.6.1
public function get_title() { if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) { return __( 'Select how to ship your products', 'woocommerce' ); } if ( true === $this->get_parent_option( 'use_completed_title' ) ) { if ( $this->is_complete() ) { return __( 'You added shipping costs', 'woocommerce' ); } return __( 'Add shipping costs', 'woocommerce' ); } return __( 'Set up shipping', 'woocommerce' ); }