Created
October 19, 2023 07:58
-
-
Save rafsuntaskin/a6bd42cb0ac4a5e702884a39d0f3192d to your computer and use it in GitHub Desktop.
Disable Ticket Emails JSON LD schema output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'tec_tickets_emails_template_args', function( $args ) { | |
if ( isset( $args['json_ld'] ) ) { | |
unset( $args['json_ld'] ); | |
} | |
return $args; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment