Shipping label template
/** * The template for displaying the shipping label * * Override this template by copying…
Current Year
function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');
WP Simple Pay: Modify Customer Record Creation
Add custom parameters to the Stripe Customer creation request.
WP Simple Pay: Successful Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
Adjust Currency Symbols | Display Eventbrite Events
The Display Eventbrite plugin has a table that converts currency code to symbols. Sometime a user…
WordPress Typography Enhancement: Preventing Widows in Conten
This code is a WordPress filter designed to prevent "widows" in typography within the content displayed…
create_folder_and_upload_file
Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.
Force Billing Address
This plugin forces the billing address to always be collected at checkout
Retroactive Lifetime Licenses
Mark all existing licenses for an EDD product as lifetime licenses.
Vendor Canonical Links
Makes the vendor canonical links go to yoursite/vendor/vendor-name instead of yoursite/vendor.