Google AdSense Verification + Auto Ads
This snippet contains my AdSense verification meta tag and auto ads script.
frontend/js/snippets/scroll-behavior/sticky
This JavaScript snippet enables smooth scrolling to in-page anchors (like #section1) while automatically adjusting for a…
Remove Campaign Name From Donation Summary
Change the output of the line items displayed by the donation summary in email receipts.
ACF_KEYSMST_MSTCASECPT – BASELINE MEASUREMENTS (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: BASELINE MEASUREMENTS (v3.0 Modular) * ============================================ * *…
Real Estate Website
Dream Career Project — Real Estate Agent Dream Career Project Real Estate Agent A clear plan…
WPForms: display a form under the confirmation message with or without user entered field values.
add_action( 'wpforms_frontend_output_success', static function ( $form_data, $fields, $entry_id ) { unset( $_GET['wpforms_return'], $_POST['wpforms']['id'] ); // If…
Disable Unused Auto-Generated Image Sizes
* Disable Unused Auto-Generated Image Sizes * Optimized for AWS Storage savings & Performance.
Register New Users as Customers
Register New Users as Customers
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…
Remove the coupon section for orders that did not use any coupon.
add_action( 'woocommerce_email_before_order_table', 'conditionally_remove_coupon_section_from_email', 5, 4 ); function conditionally_remove_coupon_section_from_email( $order, $sent_to_admin, $plain_text, $email ) { if (…
Restrict Dashboard Summary Widget
Prevent specific users (by user ID) from seeing the Easy Digital Downloads Sales Summary widget.