Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Payments::get_content()publicWC 1.0

Content.

Method of the class: Payments{}

No Hooks.

Return

String.

Usage

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

Payments::get_content() code WC 7.1.0

public function get_content() {
	if ( count( $this->task_list->get_sections() ) > 0 ) {
		return __( 'Let your customers pay the way they like.', 'woocommerce' );
	}
	return __(
		'Choose payment providers and enable payment methods at checkout.',
		'woocommerce'
	);
}