avada_builder.php
2 years ago
bricks_builder.php
2 years ago
divi_theme.php
2 years ago
foggy_email.php
2 years ago
google_site_kit.php
2 years ago
maintenance.php
2 years ago
oxygen_builder.php
2 years ago
the_events_calendar.php
2 years ago
the_events_calendar.php
44 lines
| 1 | <?php |
| 2 | |
| 3 | // Exit if accessed directly. |
| 4 | if ( !defined( 'ABSPATH' ) ) exit; |
| 5 | |
| 6 | if( ! class_exists( 'Email_Encoder_Integration_The_Events_Calendar' ) ){ |
| 7 | |
| 8 | /** |
| 9 | * Class Email_Encoder_Integration_The_Events_Calendar |
| 10 | * |
| 11 | * This class integrates support for The Events Calendar https://de.wordpress.org/plugins/the-events-calendar/ |
| 12 | * |
| 13 | * @since 2.0.7 |
| 14 | * @package EEB |
| 15 | * @author Ironikus <info@ironikus.com> |
| 16 | */ |
| 17 | |
| 18 | class Email_Encoder_Integration_The_Events_Calendar{ |
| 19 | |
| 20 | /** |
| 21 | * Our Email_Encoder_Run constructor. |
| 22 | */ |
| 23 | function __construct(){ |
| 24 | add_filter( 'tribe_get_organizer_email', array( $this, 'deactivate_tribe_email_filter' ), 100, 2 ); |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * ###################### |
| 29 | * ### |
| 30 | * #### CORE LOGIC |
| 31 | * ### |
| 32 | * ###################### |
| 33 | */ |
| 34 | |
| 35 | public function deactivate_tribe_email_filter( $filtered_email, $unfiltered_email ){ |
| 36 | return $unfiltered_email; |
| 37 | } |
| 38 | |
| 39 | |
| 40 | } |
| 41 | |
| 42 | new Email_Encoder_Integration_The_Events_Calendar(); |
| 43 | } |
| 44 |