Untitled Snippet
/** * Convert Uploaded Images to WebP Format * * This snippet converts uploaded images (JPEG,…
Search Atlas
Otto SEO
Lock users if website is idle for certain period ウェブサイトが一定期間アイドル状態の場合にユーザーをロックするAn updated version.
Lock users if website is idle for certain period ウェブサイトが一定期間アイドル状態の場合にユーザーをロックする An updated version. After Adding the…
Payment plan Calculator CSS style
.payment-plans { margin-top: 20px; padding: 15px; background-color: #fff; border: 1px solid #ddd; border-radius: 8px; display: flex;…
Dynamic Copyright Date
if ( ! function_exists( 'wpb_copyright' ) ) { function wpb_copyright() { // Cache the output so…
MemberPress: Display Custom Field Value Instead of Customer Name in PDF Invoice
This code snippet enhances your MemberPress PDF invoices by automatically displaying a company name at the…
MemberPress: Redirect Users to a Specific Page Depending on a Custom Field Value
This code snippet adds a custom redirection after registration based on the value of a custom…
WooCommerce Local Pickup Date Field | WooCommerce Pickup Date
Adds a date picker to the checkout page when "Local Pickup" is selected. The selected pickup…
Block specific coupons during set hours
/** * Block specific coupons during set hours (1:00 PM - 3:00 PM) */ function block_coupon_during_specific_hours($valid,…
om.Lock.init
document.addEventListener('om.Lock.init', function(event) { console.log(event.detail.Lock); // The method that will be used for locking the content. console.log(event.detail.Lock.method);…
om.PoweredBy.init
document.addEventListener('om.PoweredBy.init', function(event) { console.log(event.detail.PoweredBy); console.log(event.detail.Campaign); } );
om.Optin.success
document.addEventListener('om.Optin.success', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…