Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

<10

Change TikTok purchase Event

When using the WPCode Conversion Pixels addon the event name used when a purchase is completed…

<10

Customize Action Scheduler Retention Period

This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.

MemberPress: Add Custom Field to Transactions Table

This code snippet will add data collected through a custom field on MemberPress registration forms to…

Remove Download Links

Remove download links from checkout page for all downloads.

Remove hyperlink from name field

add_filter('preprocess_comment', 'remove_links_from_comment_author'); function remove_links_from_comment_author($commentdata) { // Regular expression to detect hyperlinks $pattern = '/

Pete Tran
<10

Add user registration date

/* * Creating a column (it is also possible to remove some default ones) */ add_filter(…

MemberPress: Send Tax (e.g. VAT) to Stripe

This code snippet will send the user’s VAT/TAX number to Stripe when that user registers for…

Set State Field To Us States Dropdown With Default

Change the "State" field into a "Province" field.

Google Tag Fitting

Google Tag manager snippet to track

JT Trisko PRO
<10
1 77 78 79 80 81 226