Set Minimum total purchase amount

add_action( 'woocommerce_check_cart_items', 'required_min_cart_subtotal_amount' ); function required_min_cart_subtotal_amount() { // HERE Set minimum cart total amount $minimum_amount =…

Current Year

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

<10

Login Form Styling

Custom styling for login forms

Facebook Domain Verification snippet

Asembo Digital Solutions Facebook Pixel ID (tracking)

MemberPress: Hide the Cancel Link in the Account Page for a Period of Time

The code will hide the subscription cancellation link on the Account page for a set period…

Remove Download Links

Remove download links from checkout page for all downloads.

MemberPress: Modify the Order of the Registration and the Account Form Fields

Each field in the registration and account form is a separate element. Thus, the order of…

MemberPress: Hide the Cancel Subscription Option for the Set Number of Months

The code snippet will hide the Cancel option for a user’s subscriptions under the Subscriptions tab…

MemberPress: Adjust Column Width for MemberPress Access Column on Admin Pages

This snippet adds custom CSS to adjust the width of the Acess (mepr-access) column on the…

Set State Field To Us States Dropdown With Default

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

Google Tag Manager

Google tag manager snippet (body)

1 64 65 66 67 68 217