Skip to content
This repository was archived by the owner on Jan 10, 2022. It is now read-only.

Commit 084bfc5

Browse files
committed
Added construct function.
1 parent 1fd1951 commit 084bfc5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/Extension.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ class Extension extends \Pronamic\WordPress\Pay\AbstractPluginIntegration {
4040
*/
4141
const OPTION_PRONAMIC_PAYMENT_METHOD = 'pronamic_pay_pronamic_wpsc_payment_method';
4242

43+
/**
44+
* Construct WP eCommerce extension.
45+
*
46+
* @param array $args Arguments.
47+
*/
48+
public function __construct( $args = array() ) {
49+
parent::__construct( $args );
50+
51+
self::bootstrap();
52+
}
53+
4354
/**
4455
* Bootstrap
4556
*/

0 commit comments

Comments
 (0)