@@ -144,11 +144,11 @@ |
||
144 | 144 | <?php |
145 | 145 | } |
146 | 146 | |
147 | - /** |
|
148 | - * Outputs the payment options. |
|
149 | - * |
|
150 | - * @param WP_Post $post |
|
151 | - */ |
|
147 | + /** |
|
148 | + * Outputs the payment options. |
|
149 | + * |
|
150 | + * @param WP_Post $post |
|
151 | + */ |
|
152 | 152 | public static function output_options( $post ) { |
153 | 153 | |
154 | 154 | $post_id = ! empty( $post->ID ) ? $post->ID : 0; |
@@ -170,11 +170,11 @@ discard block |
||
170 | 170 | require_once( WPINV_PLUGIN_DIR . 'includes/class-wpinv-privacy.php' ); |
171 | 171 | require_once( WPINV_PLUGIN_DIR . 'includes/libraries/class-ayecode-addons.php' ); |
172 | 172 | require_once( WPINV_PLUGIN_DIR . 'includes/class-wpinv-addons.php' ); |
173 | - require_once( WPINV_PLUGIN_DIR . 'widgets/checkout.php' ); |
|
174 | - require_once( WPINV_PLUGIN_DIR . 'widgets/invoice-history.php' ); |
|
175 | - require_once( WPINV_PLUGIN_DIR . 'widgets/invoice-receipt.php' ); |
|
176 | - require_once( WPINV_PLUGIN_DIR . 'widgets/invoice-messages.php' ); |
|
177 | - require_once( WPINV_PLUGIN_DIR . 'widgets/subscriptions.php' ); |
|
173 | + require_once( WPINV_PLUGIN_DIR . 'widgets/checkout.php' ); |
|
174 | + require_once( WPINV_PLUGIN_DIR . 'widgets/invoice-history.php' ); |
|
175 | + require_once( WPINV_PLUGIN_DIR . 'widgets/invoice-receipt.php' ); |
|
176 | + require_once( WPINV_PLUGIN_DIR . 'widgets/invoice-messages.php' ); |
|
177 | + require_once( WPINV_PLUGIN_DIR . 'widgets/subscriptions.php' ); |
|
178 | 178 | require_once( WPINV_PLUGIN_DIR . 'widgets/buy-item.php' ); |
179 | 179 | require_once( WPINV_PLUGIN_DIR . 'includes/class-wpinv-payment-form-elements.php' ); |
180 | 180 | |
@@ -474,16 +474,16 @@ discard block |
||
474 | 474 | require_once( WPINV_PLUGIN_DIR . 'includes/class-wpinv-bp-core.php' ); |
475 | 475 | } |
476 | 476 | |
477 | - /** |
|
478 | - * Register widgets |
|
479 | - * |
|
480 | - */ |
|
481 | - public function register_widgets() { |
|
482 | - register_widget( "WPInv_Checkout_Widget" ); |
|
483 | - register_widget( "WPInv_History_Widget" ); |
|
484 | - register_widget( "WPInv_Receipt_Widget" ); |
|
485 | - register_widget( "WPInv_Subscriptions_Widget" ); |
|
486 | - register_widget( "WPInv_Buy_Item_Widget" ); |
|
487 | - register_widget( "WPInv_Messages_Widget" ); |
|
488 | - } |
|
477 | + /** |
|
478 | + * Register widgets |
|
479 | + * |
|
480 | + */ |
|
481 | + public function register_widgets() { |
|
482 | + register_widget( "WPInv_Checkout_Widget" ); |
|
483 | + register_widget( "WPInv_History_Widget" ); |
|
484 | + register_widget( "WPInv_Receipt_Widget" ); |
|
485 | + register_widget( "WPInv_Subscriptions_Widget" ); |
|
486 | + register_widget( "WPInv_Buy_Item_Widget" ); |
|
487 | + register_widget( "WPInv_Messages_Widget" ); |
|
488 | + } |
|
489 | 489 | } |
490 | 490 | \ No newline at end of file |