ACF_KEYSMST_MSTCASECPT – TAB - OUTCOMES & DISCHARGE (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: OUTCOMES & DISCHARGE (v3.0 Modular) * ============================================ *…
Keep users logged in for 1 month on Staq
function stq_change_auth_cookie_expiration_period( $expiration_period ) { $expiration_period = MONTH_IN_SECONDS; // 1 month return $expiration_period; } add_filter( 'auth_cookie_expiration',…
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…
Fully Disable Comments & Trackbacks (The "Nuclear" Option)
* Fully Disable Comments & Trackbacks (The "Nuclear" Option) * Optimized for performance and UI clarity.
Shop Manager - Reseller Admin.js
Creates a reseller admin role that has more customisation options than a normal user
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.
Disable WordPress auto-update emails (plugins/themes/core)
// Disable auto-update emails. add_filter( 'auto_core_update_send_email', '__return_false' ); // Disable auto-update emails for plugins. add_filter( 'auto_plugin_update_send_email',…
Non-required Card State
Makes the cart state a non-required field when present
work in progress
3d cartoon style racing game that I can import to scratch, other racers and a start…
AffiliateWP -- Searchable Checkout Referrals Dropdown WPCode Description
Applies Select2 to the affiliate selector dropdown at checkout to make it searchable. Handles WooCommerce classic…
Show login form for logged out users
Shows the [edd_login] form on restricted content for logged out users.