Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active April 23, 2018 17:00
Show Gist options
  • Save Shelob9/88b296e6b8c9886d90db6fc058c19170 to your computer and use it in GitHub Desktop.
Save Shelob9/88b296e6b8c9886d90db6fc058c19170 to your computer and use it in GitHub Desktop.
<?php
/**
Plugin Name: Caldera Forms PayPal Customization
*/
add_filter( 'cf_paypal_request', function( $request ){
$request['SOLUTIONTYPE'] = 'Sole';
$request['LANDINGPAGE'] = 'Billing';
return $request;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment