• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP Express Checkout

Express Checkout Plugin for WordPress

  • Home
  • Documentation
  • Extensions
  • Login
    • Sign In
    • Edit Profile
    • Terms & Condtions
    • My Downloads
  • Support
    • Tutorials
  • Contact
  • Show Search
Hide Search
You are here: Home / WP Express Checkout Plugin – Filter Hooks Reference

WP Express Checkout Plugin – Filter Hooks Reference

Below is a list of filter hooks that are available in the WP Express Checkout plugin.

PayPal SDK Parameter Related

wpec_paypal_sdk_args

This filter hook executes before the PayPal SDK is loaded for the payment button generation. This can be used to tweak some PayPal SDK related arguments.

Below is an example of how to use this filter hook. This will hide the sofort, mybank, sepa funding options.

function my_custom_paypal_sdk_args( $args ) {
    // See the following documentation for all method names
    // https://developer.paypal.com/docs/checkout/reference/customize-sdk/#disable-funding
    $args['disable-funding'] = 'mybank,sofort,sepa';
    return $args;
}
add_filter( 'wpec_paypal_sdk_args', 'my_custom_paypal_sdk_args' );

Primary Sidebar

Featured Addons/Extensions

Subscription Payments Addon

Custom Fields Addon

Simple & Lightweight Plugin

Our Approach with the Plugin

Support Links

  • Support Forum
  • Contact Us

Search

Copyright © 2023 | WP Express Checkout Plugin | A member of the Tips and Tricks HQ family.