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' );
Remove Gateway Choice On A Campaign/Donation Page
This shows how you can detect what page/campaign you are on and remove a gateway from…
Filter the Event Title | Display Eventbrite Events
Example, adding Organizer Name to the front of Event Title. (Note this code snippet applies for…
Use the Variation Name instead of Slug within the Product Name detail of Product exports
function custom_woo_ce_get_product_title_attribute_formatting( $format = 'slug', $post_id ) { // Set the format to Attribute Title $format…
Send Site Notifications to a BCC Address
This snippet will ensure all your site’s outgoing emails are also sent to a specific BCC…
Gravity Forms Auto-populate Date
The purpose of this snippet is to calculate a date 90 days from today. That serves…
om-js-event-ga-name-change.js
document.addEventListener( 'om.GoogleAnalytics.preConversionEvent', function( event ) { const { gaEvent } = event.detail; gaEvent.name = 'generate_lead'; //…
Editorial Group GTM Body Tag
Add GTM Tag to Site Body in Editorial Site Group
Allow Tasty Pins Only On Single Posts
Disable Tasty Pins on pages or custom post types and only add them to blog posts.