From 409d2e014c46c0369dd19bb20eabaaabbf035f65 Mon Sep 17 00:00:00 2001 From: Rajat Patel Date: Mon, 25 Nov 2024 15:21:52 +0530 Subject: [PATCH 1/3] added upgrade to pro link in plugin lists --- wp-event-aggregator.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-event-aggregator.php b/wp-event-aggregator.php index 4e29cc4..f316ac5 100644 --- a/wp-event-aggregator.php +++ b/wp-event-aggregator.php @@ -234,7 +234,15 @@ public function wpea_setting_doc_links ( $links ) { esc_html__( 'Docs', 'wp-event-aggregator' ) ), ); - return array_merge( $links, $wpea_setting_doc_link ); + $upgrade_to_pro = array(); + if( !wpea_is_pro() ){ + $upgrade_to_pro = array( 'wpea-event-pro-link' => sprintf( + '%s', + esc_url( 'https://xylusthemes.com/plugins/wp-event-aggregator/' ), + esc_html__( 'Upgrade to Pro', 'wp-event-aggregator' ) + ) ) ; + } + return array_merge( $links, $wpea_setting_doc_link, $upgrade_to_pro ); } /** From 29c555673496d1e5159700ae5e645f027941313c Mon Sep 17 00:00:00 2001 From: "WordPress .pot File Generator" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:56:30 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=84=20Generated=20POT=20File?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- languages/wp-event-aggregator.pot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages/wp-event-aggregator.pot b/languages/wp-event-aggregator.pot index abec2f4..7836738 100644 --- a/languages/wp-event-aggregator.pot +++ b/languages/wp-event-aggregator.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-10-15T13:18:11+00:00\n" +"POT-Creation-Date: 2024-11-25T09:56:29+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-event-aggregator\n" @@ -85,6 +85,7 @@ msgstr "" #: includes/class-wp-event-aggregator-admin.php:68 #: templates/admin/admin-sidebar.php:16 #: templates/admin/admin-sidebar.php:19 +#: wp-event-aggregator.php:242 msgid "Upgrade to Pro" msgstr "" From a5e0315fd1e153847189df450e3fb05829255e8a Mon Sep 17 00:00:00 2001 From: "WordPress .pot File Generator" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 07:01:11 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=84=20Generated=20POT=20File?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- languages/wp-event-aggregator.pot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/wp-event-aggregator.pot b/languages/wp-event-aggregator.pot index 633aee6..ff34855 100644 --- a/languages/wp-event-aggregator.pot +++ b/languages/wp-event-aggregator.pot @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Xylus Themes +# Copyright (C) 2025 Xylus Themes # This file is distributed under the GPL-2.0+. msgid "" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-11-30T07:58:27+00:00\n" +"POT-Creation-Date: 2025-01-09T07:01:11+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-event-aggregator\n"