Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer use files from plugin directory pronamic-ideal/images #6

Closed
remcotolsma opened this issue Jun 7, 2024 · 0 comments · Fixed by #7
Closed

No longer use files from plugin directory pronamic-ideal/images #6

remcotolsma opened this issue Jun 7, 2024 · 0 comments · Fixed by #7
Assignees

Comments

@remcotolsma
Copy link
Member

The following directory will be removed in the next Pronamic Pay release:
https://github.com/pronamic/wp-pronamic-pay/tree/c661e5b3551c69c4fa24806d8515641c82462c02/images

/**
* Constructs and initializes an Event Espresso payment method
*
* @param EE_Payment_Method $pm_instance Event Espresso payment method instance.
*/
public function __construct( $pm_instance = null ) {
$this->_gateway = new KBCGateway();
$this->_pretty_name = PaymentMethods::get_name( PaymentMethods::KBC );
$this->_default_button_url = plugins_url( 'images/kbc/icon-64x48.png', Plugin::$file );
parent::__construct( $pm_instance );
}

/**
* Constructs and initializes an Event Espresso payment method
*
* @param EE_Payment_Method $pm_instance Event Espresso payment method instance.
*/
public function __construct( $pm_instance = null ) {
if ( null === $this->payment_method ) {
$this->_gateway = new Gateway();
$this->_pretty_name = __( 'Pronamic', 'pronamic_ideal' );
$this->_default_button_url = plugins_url( 'images/credit-card/icon-64x48.png', Plugin::$file );
}
parent::__construct( $pm_instance );
}

etc.

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant