From 9be7cb2ce2d0ab30a84c34952d3b79a669284435 Mon Sep 17 00:00:00 2001 From: ruru4143 Date: Sun, 29 Sep 2024 13:50:52 +0200 Subject: [PATCH] removed more unused code --- .../activitypub/transformer/class-gatherpress.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/includes/activitypub/transformer/class-gatherpress.php b/includes/activitypub/transformer/class-gatherpress.php index e4d0cdb..8390d1b 100644 --- a/includes/activitypub/transformer/class-gatherpress.php +++ b/includes/activitypub/transformer/class-gatherpress.php @@ -53,19 +53,6 @@ final class GatherPress extends Event { $this->gp_venue = $this->gp_event->get_venue_information(); } - /** - * Get supported post types. - * - * Retrieve the list of supported WordPress post types this transformer widget can handle. - * - * @since 1.0.0 - * @access public - * @return array Widget categories. - */ - public static function get_supported_post_types() { // todo can we remove this or is this in use? - return array( GatherPress_Event::POST_TYPE ); - } - /** * Get the event location. *