Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 3
n/a
0 / 0
CRAP
n/a
0 / 0
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
5use Automattic\Jetpack\Paypal_Payments\Simple_Payments;
6
7// Disable direct access/execution to/of the widget code.
8if ( ! defined( 'ABSPATH' ) ) {
9    exit( 0 );
10}
11
12add_action( 'widgets_init', array( Simple_Payments::class, 'register_widget_simple_payments' ) );