Event URL (Simple Usage) | Display Eventbrite Events
add_filter( ‘wfea_event_url’, function ( $url) { return $url . ‘?aff=affiliate1’; });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
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
// add this snippet to functions.php in your theme add_filter( ‘charitable_active_gateways’, ‘charitable_change_gateways_per_campaign’, 10, 1 ); function charitable_change_gateways_per_campaign( $gateways ) { global $post; // $gateways will be an array similar to this: // [offline] => Charitable_Gateway_Offline // [stripe] => Charitable_Gateway_Stripe_AM if…Continue reading