PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.0.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.0.0
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
subscription / src / dashboard / ProBadge.js

ProBadge.js in Subscriptions for WooCommerce with Stripe Recurring Payments 2.0.0, at src/dashboard/ProBadge.js

20 lines 522 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * The Pro marker, for a link whose destination needs WPSubscription Pro.
3 *
4 * The admin's own pill (assets/css/admin-components/badges.css), with the same
5 * text and title as on the product screen and in the Plans modals.
6 */
7
8 import { __ } from "@wordpress/i18n";
9
10 export default function ProBadge() {
11 return (
12 <span
13 className="wpsubs-badge wpsubs-badge--pro subscrpt-pro-badge"
14 title={__("WPSubscription Pro required", "subscription")}
15 >
16 {__("Pro", "subscription")}
17 </span>
18 );
19 }
20