diff --git a/activitypub/transformer/class-tribe.php b/activitypub/transformer/class-tribe.php index 4c2bf3f..2211b3a 100644 --- a/activitypub/transformer/class-tribe.php +++ b/activitypub/transformer/class-tribe.php @@ -63,7 +63,7 @@ class Tribe extends \Activitypub\Transformer\Base { * @access public * @return array Widget categories. */ - public function get_supported_post_types() { + public static function get_supported_post_types() { return array( 'tribe_events' ); } } diff --git a/activitypub/transformer/class-vs-event.php b/activitypub/transformer/class-vs-event.php index 966aea0..be7d2eb 100644 --- a/activitypub/transformer/class-vs-event.php +++ b/activitypub/transformer/class-vs-event.php @@ -68,7 +68,7 @@ class VS_Event extends \Activitypub\Transformer\Base { * @access public * @return array Widget categories. */ - public function get_supported_post_types() { + public static function get_supported_post_types() { return array( 'event' ); }