PluginProbe
ActivityPub / 7.8.4
ActivityPub v7.8.4
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | integration/load.php +0 -28 9.0.27.8.4 View file →
@@ -101,36 +101,8 @@
101 101 Opengraph::init();
102 102 }
103 103
104 104 /**
105 - * Adds Podlove Podcast Publisher support.
106 - *
107 - * This class handles the compatibility with Podlove Podcast Publisher.
108 - *
109 - * @see https://wordpress.org/plugins/podlove-podcasting-plugin-for-wordpress/
110 - */
111 - if ( \defined( 'Podlove\PLUGIN_FILE' ) ) {
112 - // Enable ActivityPub support for the podcast post type.
113 - \add_post_type_support( 'podcast', 'activitypub' );
114 -
115 - \add_filter(
116 - 'activitypub_transformer',
117 - static function ( $transformer, $data, $object_class ) {
118 - if (
119 - 'WP_Post' === $object_class &&
120 - 'podcast' === $data->post_type &&
121 - \Podlove\Model\Episode::find_one_by_post_id( $data->ID )
122 - ) {
123 - return new Podlove_Podcast_Publisher( $data );
124 - }
125 - return $transformer;
126 - },
127 - 10,
128 - 3
129 - );
130 - }
131 -
132 - /**
133 105 * Adds Seriously Simple Podcasting support.
134 106 *
135 107 * This class handles the compatibility with Seriously Simple Podcasting.
136 108 *