Remove Customer Role From Excluded Roles
This filter can be used to remove the customer role from the excluded roles
Move WPCode Status Column
This snippet makes the status column the 2nd column in the admin list of snippets.
Change user role for buyers
This is useful if, for example, you want buyers to be able to access dedicated content…
Keep me Logged In
Changes your Cookie expiration to one year so you don't have to keep logging so often.
Verify Email Domain
During the banned email checks, see if the domain being checked has DNS configured, if not…
Set Minimum Donation Amount
Set the minimum donation amount required.
WP Simple Pay: Use Custom Field Value as Stripe Payment Description
Use the value of a custom field as the description for the Stripe payment record.
Remove Unused Javascript
Remove Unused Javascript – and improve your Page Speed Insight Score
Meta Pixel Code
Add Meta Pixel Code in WPCode
Disable Posts Post Type
This snippet hides the default Posts post type from the WordPress admin
Google Tag Manager Header
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
Customize Amount Raised Text
In this example, we change how the "X donated of Y goal" text appears.
Estimated reading time
// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…
MemberPress: Add Address Column to Subscriptions Table
If the Address Fields option is enabled for the MemberPress registration forms at Dashboard > MemberPress…
Re-route BuddyPress emails through WP Mail SMTP
This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…