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…

Hide Admins from being tracked

Adds a function that will allow you to properly add all your tracking scripts and stop…

Disable Nonce Check For Non Logged In Users

Disables the nonce check for non-logged in donors, usually for those using page caching which causes…

MemberPress: Add the Invoice Number to the Transactions Screen

If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…

Show Admin Bar

The code below shows the admin bar for logged in users who do not have these…

WP Simple Pay: Facebook Payment Conversion Tracking

Execute a script the first and only time a payment confirmation is viewed.

Show 'NEW' Badges for Recently Added Items in WooCommerce

This code snippet adds a “NEW!” badge to products in WooCommerce, indicating that they are newly…

On Browsing WooCommerce Products

This snippet targets window shoppers and encourages them to add more products to their carts. This…

MemberPress: Set Default Country on Registration Page

This code will help set specified country as default country for the Country field on MemberPress…

Copy Donation Receipt To Admin

Send the donation receipt to the site admin as well.

Allow only specific days of the month in all WPForms date pickers

If you only want users to select certain days of the month in the Date Picker,…

<10

Add WooCommerce upsells below the add-to-cart button

// add upsells below add-to-cart button add_action( 'woocommerce_single_product_summary', 'woocommerce_upsell_display', 40 );

Add custom CSS in the Admin

Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…

<10
1 39 40 41 42 43 227