Hide payment icons for trials
Hides the payment icons on checkout when the item in the card is a free trial
Add Custom Settings Tab to Vendor Dashboard
// Add the tab to the tab nav add_filter( 'wcv_store_tabs', 'add_custom_tab_nav' ); function add_custom_tab_nav( $tabs ){…
Hide “Everywhere Else” on the countries dropdown
if ( ! function_exists( 'wcv_hide_everywhere_else' ) ) { /** * Hide the "Everywhere else" option in…
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
Adjust Currency Symbols | Display Eventbrite Events
The Display Eventbrite plugin has a table that converts currency code to symbols. Sometime a user…
WordPress Typography Enhancement: Preventing Widows in Conten
This code is a WordPress filter designed to prevent "widows" in typography within the content displayed…
create_folder_and_upload_file
Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…
Limit Uploaded Image Size
Set a max width and height for your image uploads to save space.
Defining SparkPost Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
om.Dtr.init.js
document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );
Check URL for Braze UUID
Check URL for Braze UUID, if exists call braze.changeuser()