Created
September 10, 2018 15:52
-
-
Save vanbo/31e6059d1288c9e1012024c50c91692e to your computer and use it in GitHub Desktop.
pay360-hosted-request-filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'pay360_hosted_get_parameters', 'prefix_add_request_parameters' ); | |
| function prefix_add_request_parameters($args, $order, $gateway) { | |
| // Add, remove or update a parameter | |
| // Add template parameter | |
| $args['template'] = 'template_name'; | |
| // Always return the arguments back | |
| return $args; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment