• 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.

Table of Contents

  • Thank You Page Related
    • wpec_thank_you_message
  • PayPal SDK Parameter Related
    • wpec_paypal_sdk_args

Thank You Page Related

wpec_thank_you_message

This filter allows you to modify the output data on the “Thank you” page. This can be used to add some additional details or HTML code to the thank you page message shown by this plugin after a transaction.

Below is an example of how to use this filter:

add_filter('wpec_thank_you_message','my_custom_thank_you');
function my_custom_thank_you( $content ){
    //Adding an example link to the thank you message.
    $content .= '<a href"https://example.com/info">More Info</a>';
    return $content;
}

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

A Simple & Lightweight Plugin

Our Approach with the Plugin

Support Link

  • Contact Us

Search

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