Untitled Snippet
Guesty Search Widget
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…
Delete Pending Donations
This script properly deletes all pending donations using WordPress functions ensuring all hooks fire and related…
META CONVERSIONS API (CAPI) — PURCHASE (SERVER-SIDE)
/** * ============================================================================= * VOELGOED — META CONVERSIONS API (CAPI) — PURCHASE (SERVER-SIDE) * ============================================================================= *…
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…
Restrict Dashboard Summary Widget
Prevent specific users (by user ID) from seeing the Easy Digital Downloads Sales Summary widget.
Non-required Card State
Makes the cart state a non-required field when present
test
test
Show login form for logged out users
Shows the [edd_login] form on restricted content for logged out users.
Disable Geolocation Current Location if the page URL contains Prefill by URL parameters targeting an address field
When "Current Location" is enabled in WPForms > Settings > Geolocation, the geolocation JS overwrites address…
Force localized currency for product feeds
This allows you to change the ISO 4217 for all the product feeds