1. Home
  2. Advanced
  3. Code Snippet Library for WP Simple Pay

Code Snippet Library for WP Simple Pay

This article recommends adding custom code to your WordPress site and is intended for developers. Although we don’t provide custom development services ourselves, if you need help we highly recommend Codeable for one-time projects and WP Buffs for ongoing development, support, and maintenance. Both have people familiar with both Stripe and WP Simple Pay.

If you’re looking for additional functionality not found in the plugin settings, there are many customizations you can make by extending WP Simple Pay via code by using WordPress filters and action hooks.

To help you get up and running with adding functionality this way, we have put together a code snippet library. This library holds example code making use of various filter and action hooks available in the plugin.

Most of these examples are written as mini-plugins which you can add to your site in several different ways. Check out how to add custom functions to learn more.

If you don’t find a code snippet that meets your needs or you want to know what hooks are available to you, see the action & filter hook reference for WP Simple Pay Pro.

Note we do not recommend altering WP Simple Pay code directly as it will be overwritten with any plugin update.

Here are just a few of the code snippets available:

Browse the WP Simple Pay Pro code snippet library on GitHub.

If you’re a developer and want to contribute a code snippet please open up a pull request on the GitHub repository.

Updated on September 28, 2018

Was this article helpful?

Related Articles