summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/slideshare.php')
-rw-r--r--plugins/jetpack/modules/shortcodes/slideshare.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/shortcodes/slideshare.php b/plugins/jetpack/modules/shortcodes/slideshare.php
index f2278935..72c94237 100644
--- a/plugins/jetpack/modules/shortcodes/slideshare.php
+++ b/plugins/jetpack/modules/shortcodes/slideshare.php
@@ -111,5 +111,15 @@ function slideshare_shortcode( $atts ) {
$player .= ' allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>';
- return $player;
-} \ No newline at end of file
+ /**
+ * Filter the returned SlideShare shortcode.
+ *
+ * @module shortcodes
+ *
+ * @since 4.7.0
+ *
+ * @param string $player The iframe to return.
+ * @param array $atts The attributes specified in the shortcode.
+ */
+ return apply_filters( 'jetpack_slideshare_shortcode', $player, $atts );
+}