authors
1 year ago
contact-info
1 year ago
eu-cookie-law
1 year ago
facebook-likebox
11 years ago
flickr
1 year ago
gallery
1 year ago
goodreads
1 year ago
google-translate
1 year ago
image-widget
1 year ago
instagram
1 year ago
internet-defense-league
2 years ago
milestone
1 year ago
my-community
1 year ago
social-icons
1 year ago
social-media-icons
1 year ago
top-posts
1 year ago
wordpress-post-widget
11 months ago
authors.php
1 year ago
blog-stats.php
1 year ago
class-jetpack-eu-cookie-law-widget.php
10 months ago
class-jetpack-instagram-widget.php
1 year ago
contact-info.php
1 year ago
customizer-controls.css
1 year ago
customizer-utils.js
1 year ago
facebook-likebox.php
1 year ago
flickr.php
1 year ago
gallery.php
1 year ago
goodreads.php
11 months ago
google-translate.php
1 year ago
gravatar-profile.css
1 year ago
gravatar-profile.php
1 year ago
image-widget.php
1 year ago
internet-defense-league.php
1 year ago
mailchimp.php
1 year ago
milestone.php
1 year ago
my-community.php
1 year ago
rsslinks-widget.php
1 year ago
simple-payments.php
1 year ago
social-icons.php
1 year ago
social-media-icons.php
1 year ago
top-posts.php
1 year ago
twitter-timeline-admin.js
1 year ago
twitter-timeline.php
1 year ago
upcoming-events.php
1 year ago
wordpress-post-widget.php
1 year 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 |