Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Products::get_content()publicWC 1.0

Content.

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

No Hooks.

Return

String.

Usage

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

Код Products::get_content() WC 7.1.0

public function get_content() {
	if ( count( $this->task_list->get_sections() ) > 0 ) {
		return __( 'Add products to sell and build your catalog.', 'woocommerce' );
	}
	return __(
		'Start by adding the first product to your store. You can add your products manually, via CSV, or import them from another service.',
		'woocommerce'
	);
}