From c81ed626ad9c6432f6225010357c849bab490377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 16 Nov 2024 17:03:31 +0100 Subject: [PATCH] fix post_type for mec --- includes/plugins/class-modern-events-calendar-lite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/plugins/class-modern-events-calendar-lite.php b/includes/plugins/class-modern-events-calendar-lite.php index 796634d..45f060f 100644 --- a/includes/plugins/class-modern-events-calendar-lite.php +++ b/includes/plugins/class-modern-events-calendar-lite.php @@ -38,7 +38,7 @@ final class Modern_Events_Calendar_Lite extends Event_plugin { */ public static function get_post_type(): string { // See MEC_feature_events->get_main_post_type(). - return apply_filters( 'mec_post_type_name', 'mec-events' ); // phpcs:ignore + return 'mec-events'; } /**