avada_builder.php
3 months ago
bricks_builder.php
3 months ago
divi_theme.php
3 months ago
google_site_kit.php
3 months ago
hive_press.php
3 months ago
maintenance.php
3 months ago
oxygen_builder.php
3 months ago
the_events_calendar.php
3 months ago
wpml.php
3 months ago
the_events_calendar.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Legacy\EmailEncoderBundle\Integration; |
| 4 | |
| 5 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 6 | |
| 7 | use OnlineOptimisation\EmailEncoderBundle\Integrations\IntegrationInterface; |
| 8 | |
| 9 | class EventsCalendar implements IntegrationInterface { |
| 10 | |
| 11 | public function boot(): void { |
| 12 | add_filter( 'tribe_get_organizer_email', [ $this, 'deactivate_logic' ], 100, 2 ); |
| 13 | } |
| 14 | |
| 15 | |
| 16 | /** |
| 17 | * @param string|null $filtered_email |
| 18 | * @param string $unfiltered_email |
| 19 | * @return string |
| 20 | */ |
| 21 | public function deactivate_logic( $filtered_email, $unfiltered_email ): string { |
| 22 | return $unfiltered_email; |
| 23 | } |
| 24 | |
| 25 | } |
| 26 | |
| 27 |