Force Minimum Password Length at Checkout

Force a minimum password length when a customer creates an account at checkout

Add a document file upload

// Add the document field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_doc_uploader'); function wcv_doc_uploader( ){ if…

Enable product images in vendor order email notifications

add_filter( 'wcvendors_vendor_order_items_args', 'wcv_enable_product_image_vendor_order_email' ); function wcv_enable_product_image_vendor_order_email( $order_item_args ){ $order_item_args['show_image'] = true; return $order_item_args; }

Whitelist Callback Functions for use in Theme Elements

Various elements in the Total theme allow you to select a callback function for the output…

Add Profile ID to Subscriber

You can assign any CRM ID or your database ID to your push subscriber and then…

Remove image link from media uploads

Older versions of WordPress automatically linked the image to the media file.

om-manually-set-global-cookies.js

// Set OptinMonster Global Cookies when this function runs function setGlobalCookies() { document.cookie = "omSuccessCookie=true; expires=Fri,…

slide-top-right.css

html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }

Customize Gift Card Code

/* Customize the generated Gift Card Code */ function agcfw_change_prefix() { return array( 'characters' => 'ABCDEFGHJKMNPQRSTUVWXYZ23456789',…

Enable automatic updates for WordPress core, plugins, and themes

// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…

Test Snippet

Just a snippet description

Set a cookie if the URL contains specific UTM parameters.

The below script checks the URL for specific UTM parameters and if found, saves a cookie…

1 78 79 80 81 82 124