Skip to content

Commit f3fb64f

Browse files
committed
* GP > Restrict Paid Content - basic paid content restriction block - ADDED
1 parent 403fc18 commit f3fb64f

27 files changed

Lines changed: 801 additions & 46 deletions

assets/js/admin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/payment-forms.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/class-wpinv.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ public function includes() {
237237
require_once WPINV_PLUGIN_DIR . 'widgets/subscriptions.php';
238238
require_once WPINV_PLUGIN_DIR . 'widgets/buy-item.php';
239239
require_once WPINV_PLUGIN_DIR . 'widgets/getpaid.php';
240-
require_once WPINV_PLUGIN_DIR . 'widgets/invoice.php';
240+
require_once WPINV_PLUGIN_DIR . 'widgets/invoice.php';
241+
require_once WPINV_PLUGIN_DIR . 'widgets/getpaid-restrict-paid-content.php';
241242
require_once WPINV_PLUGIN_DIR . 'includes/admin/admin-pages.php';
242243

243244
if ( is_admin() || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
@@ -462,6 +463,7 @@ public function register_widgets() {
462463
'WPInv_Messages_Widget',
463464
'WPInv_GetPaid_Widget',
464465
'WPInv_Invoice_Widget',
466+
'WPInv_Restrict_Paid_Content_Widget',
465467
)
466468
);
467469

readme.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ GetPaid can be used as a payment system for 3rd party plugins too.
3333
* Manage taxes.
3434
* VAT MOSS complaint (European Union VAT management system).
3535
* Easily accept payments and create invoices programmatically through other plugins.
36+
* Basic paid content restriction block/widget/shortcode.
3637

3738
= A payment system for other plugins and themes =
3839

@@ -144,6 +145,7 @@ Automatic updates should work seamlessly. To avoid unforeseen problems, we alway
144145

145146
= 2.8.41 - 2026-01-TBD =
146147
* Render subscriptions header and footer content via template - CHANGED
148+
* GP > Restrict Paid Content - basic paid content restriction block - ADDED
147149

148150
= 2.8.40 - 2026-01-22 =
149151
* Added bulk actions for admin subscriptions list table - ADDED

vendor/autoload.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
echo $err;
1515
}
1616
}
17-
throw new RuntimeException($err);
17+
trigger_error(
18+
$err,
19+
E_USER_ERROR
20+
);
1821
}
1922

2023
require_once __DIR__ . '/composer/autoload_real.php';

vendor/ayecode/wp-ayecode-ui/assets-v5/scss/1-frameworks/css/bootstrap-grid.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/ayecode/wp-ayecode-ui/assets-v5/scss/1-frameworks/css/bootstrap-reboot.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/ayecode/wp-ayecode-ui/assets-v5/scss/1-frameworks/css/bootstrap-user-variables.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/ayecode/wp-ayecode-ui/assets-v5/scss/1-frameworks/css/bootstrap-utilities.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/ayecode/wp-ayecode-ui/assets-v5/scss/1-frameworks/css/bootstrap.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)