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
← All changes | includes/Admin/Links.php +6 -4 1.4.02.0.0 View file →
@@ -14,9 +14,9 @@
14 14 /**
15 15 * Initialize the class
16 16 */
17 17 public function __construct() {
18 - add_filter( 'plugin_action_links_' . plugin_basename( WP_SUBSCRIPTION_FILE ), array( $this, 'plugin_action_links' ) );
18 + add_filter( 'plugin_action_links_' . plugin_basename( SUBSCRPT_FILE ), array( $this, 'plugin_action_links' ) );
19 19 }
20 20
21 21 /**
22 22 * Add plugin action links
@@ -23,12 +23,14 @@
23 23 *
24 24 * @param array $links Plugin Links.
25 25 */
26 26 public function plugin_action_links( $links ) {
27 + $getting_started_url = admin_url( 'admin.php?page=wp-subscription-onboarding' );
28 + array_unshift( $links, '<a href="' . esc_url( $getting_started_url ) . '">' . __( 'Getting Started', 'subscription' ) . '</a>' );
27 29 if ( ! subscrpt_pro_activated() ) {
28 - $links[] = '<a href="https://wpsubscription.co" target="_blank" style="color:#3db634;">' . __( 'Upgrade to premium', 'wp_subscription' ) . '</a>';
30 + $links[] = '<a href="https://wpsubscription.co/?utm_source=plugin&utm_medium=admin&utm_campaign=upgrade_pro" target="_blank" style="color:#3db634;">' . __( 'Upgrade to premium', 'subscription' ) . '</a>';
29 31 }
30 - $links[] = '<a href="https://wordpress.org/support/plugin/subscription" target="_blank">' . __( 'Support', 'wp_subscription' ) . '</a>';
31 - $links[] = '<a href="https://wordpress.org/support/plugin/subscription/reviews/?rate=5#new-post" target="_blank">' . __( 'Review', 'wp_subscription' ) . '</a>';
32 + $links[] = '<a href="https://wordpress.org/support/plugin/subscription" target="_blank">' . __( 'Support', 'subscription' ) . '</a>';
33 + $links[] = '<a href="https://wordpress.org/support/plugin/subscription/reviews/" target="_blank">' . __( 'Review', 'subscription' ) . '</a>';
32 34 return $links;
33 35 }
34 36 }