# subscription/2.2.0/src/dashboard/ProBadge.js

Subscriptions for WooCommerce with Stripe Recurring Payments, version 2.2.0. 20 lines.

- Page: https://pluginprobe.com/plugins/subscription/2.2.0/code/src/dashboard/ProBadge.js
- Raw: https://pluginprobe.com/plugins/subscription/2.2.0/raw/src/dashboard/ProBadge.js
- Modified: 2026-09-14T12:17:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/2.2.0/code/src/dashboard/ProBadge.js#L10-L20`.

```javascript
/**
 * The Pro marker, for a link whose destination needs WPSubscription Pro.
 *
 * The admin's own pill (assets/css/admin-components/badges.css), with the same
 * text and title as on the product screen and in the Plans modals.
 */

import { __ } from "@wordpress/i18n";

export default function ProBadge() {
  return (
    <span
      className="wpsubs-badge wpsubs-badge--pro subscrpt-pro-badge"
      title={__("WPSubscription Pro required", "subscription")}
    >
      {__("Pro", "subscription")}
    </span>
  );
}

```
