Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

WooCommercePayments::get_badge()publicWC 1.0

Badge.

Method of the class: WooCommercePayments{}

Return

String.

Usage

$WooCommercePayments = new WooCommercePayments();
$WooCommercePayments->get_badge();

WooCommercePayments::get_badge() code WC 9.0.1

public function get_badge() {
	/**
	 * Filter WooPayments onboarding task badge.
	 *
	 * @param string     $badge    Badge content.
	 * @since 8.2.0
	 */
	return apply_filters( 'woocommerce_admin_woopayments_onboarding_task_badge', '' );
}