wc_sequra_pumbaa_options
Hook Filter
Filter the options to be sent to seQura if needed.
Description
This filter allows modify the options that are sent to the seQura Checkout Form
| Parameter | Type | Description |
|---|---|---|
$options | array | An array containing seQura product and campaing values that will be passed to the seQura Checkout Form |
$order | WC_Order | The order |
$extra | array | Reserved to pass additional information. Currently is not being used |
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced |
Usage Example
add_filter('wc_sequra_pumbaa_options', function($options, $order, $extra){
return array(
'product' => $options['product'],
'campaign' => $options['campaign'],
);
}, 10, 3);Updated 6 months ago