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');
Login Form Styling
Custom styling for login forms
Google Adsense In-Article
Google AdSense In-Article snippet
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…
Man
Entertainment
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: 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.
Applying Custom Map Styles to the Map Field
This code snippet will use your custom map style in WPForms Map field.
Google Tag Manager
Google tag manager snippet (body)