fix post_type for mec

This commit is contained in:
André Menrath 2024-11-16 17:03:31 +01:00
parent 455c2d0924
commit c81ed626ad

View file

@ -38,7 +38,7 @@ final class Modern_Events_Calendar_Lite extends Event_plugin {
*/ */
public static function get_post_type(): string { public static function get_post_type(): string {
// See MEC_feature_events->get_main_post_type(). // See MEC_feature_events->get_main_post_type().
return apply_filters( 'mec_post_type_name', 'mec-events' ); // phpcs:ignore return 'mec-events';
} }
/** /**