authors
6 months ago
contact-info
6 months ago
eu-cookie-law
6 months ago
facebook-likebox
10 years ago
flickr
6 months ago
gallery
6 months ago
goodreads
6 months ago
google-translate
1 year ago
image-widget
6 months ago
instagram
3 months ago
internet-defense-league
1 year ago
milestone
3 months ago
my-community
6 months ago
social-icons
3 months ago
social-media-icons
6 months ago
top-posts
6 months ago
wordpress-post-widget
3 days ago
authors.php
6 months ago
blog-stats.php
6 months ago
class-jetpack-eu-cookie-law-widget.php
1 week ago
class-jetpack-instagram-widget.php
5 months ago
contact-info.php
1 week ago
customizer-controls.css
6 months ago
customizer-utils.js
1 year ago
facebook-likebox.php
1 week ago
flickr.php
6 months ago
gallery.php
1 week ago
goodreads.php
1 week ago
google-translate.php
1 week ago
gravatar-profile.css
6 months ago
gravatar-profile.php
1 week ago
image-widget.php
6 months ago
internet-defense-league.php
6 months ago
mailchimp.php
6 months ago
milestone.php
6 months ago
my-community.php
1 week ago
rsslinks-widget.php
1 week ago
simple-payments.php
6 months ago
social-icons.php
2 weeks ago
social-media-icons.php
6 months ago
top-posts.php
1 week ago
twitter-timeline-admin.js
1 year ago
twitter-timeline.php
1 week ago
upcoming-events.php
6 months ago
wordpress-post-widget.php
6 months ago
simple-payments.php
13 lines
| 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | |
| 3 | // phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed -- TODO: Move classes to appropriately-named class files. |
| 4 | |
| 5 | use Automattic\Jetpack\Paypal_Payments\Simple_Payments; |
| 6 | |
| 7 | // Disable direct access/execution to/of the widget code. |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit( 0 ); |
| 10 | } |
| 11 | |
| 12 | add_action( 'widgets_init', array( Simple_Payments::class, 'register_widget_simple_payments' ) ); |
| 13 |