// This code snippet provides dynamic data to a // In use for Elementor Templates // – Active Templates: Vendor Taxonomy Archive // – Vendor Taxonomies: Vendor Location, Vendor Zone, Vendor Pricing, Vendor Identity Attributes, Vendor Categories // Reference URL…Continue reading
add_filter( ‘wfea_event_time’, function ( $event_time, $start, $end ) { // do you stuff to update $event_time return $event_time; }, 10, 1 );Continue reading
add_filter( ‘wfea_combined_date_time_date_format’, function ( $format ) { return ‘jS F’; }, 10, 1 );Continue reading
add_filter( ‘wfea_combined_date_time_time_format’, function ( $format ) { return ‘g:i a’; }, 10, 1 );Continue reading
add_filter( ‘wfea_event_url’, function ( $url, $event_id, $organizer, $venue, $category ) { $code = ‘online’; if ( property_exists( $venue, ‘id’ ) ) { switch ( $venue->id ) { case 12345: $code = ‘venue1’; break; case 999893: $code = ‘venue2’; break; default:…Continue reading
add_filter( ‘wfea_eventbrite_cache_expiry’, function ( $seconds ) { return 3 * HOUR_IN_SECONDS; }, 10, 1 );Continue reading
add_filter( ‘wfea_event_url’, function ( $url) { return $url . ‘?aff=affiliate1’; });Continue reading
add_filter( ‘woocommerce_duplicate_product_exclude_meta’, function( $meta_to_exclude ) { $meta_to_exclude[] = ‘meta_key_to_exclude’; return $meta_to_exclude; } );Continue reading
add_action( ‘init’, function() { if ( ! class_exists( ‘\EDD\Emails\Types\Email’ ) ) { return; } /** * The PreApproved email class. * * This is sent to customers as their ‘preapproved payment confirmation’. */ class EDDWP_PreApproved_Email extends \EDD\Emails\Types\Email { /** *…Continue reading