Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Tax::get_content()publicWC 1.0

Content.

Метод класса: Tax{}

No Hooks.

Return

String.

Usage

$Tax = new Tax();
$Tax->get_content();

Code of Tax::get_content() WC 7.1.0

public function get_content() {
	if ( count( $this->task_list->get_sections() ) > 0 ) {
		return __( 'Have sales tax calculated automatically, or add the rates manually.', 'woocommerce' );
	}
	return self::can_use_automated_taxes()
		? __(
			'Good news! WooCommerce Services and Jetpack can automate your sales tax calculations for you.',
			'woocommerce'
		)
		: __(
			'Set your store location and configure tax rate settings.',
			'woocommerce'
		);
}