SILENT KILLERPanel

Current Path: > home > ivftiowh > greeceivf.com > wp-content > plugins > jetpack > modules > shortcodes


Operation   : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software     : Apache
Server IP    : 185.61.154.216 | Your IP: 216.73.216.44
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/ivftiowh/greeceivf.com/wp-content/plugins/jetpack/modules/shortcodes

NameTypeSizeLast ModifiedActions
css Directory - -
images Directory - -
img Directory - -
js Directory - -
archives.php File 2076 bytes October 14 2024 11:06:00.
audio.php File 12887 bytes October 14 2024 11:06:00.
bandcamp.php File 7419 bytes October 14 2024 11:06:00.
blip.php File 2136 bytes October 14 2024 11:06:00.
cartodb.php File 603 bytes October 14 2024 11:06:00.
codepen.php File 229 bytes October 14 2024 11:06:00.
dailymotion.php File 10716 bytes October 14 2024 11:06:00.
diggthis.php File 163 bytes October 14 2024 11:06:00.
facebook.php File 3229 bytes October 14 2024 11:06:00.
flickr.php File 7129 bytes October 14 2024 11:06:00.
gist.php File 2854 bytes October 14 2024 11:06:00.
googlemaps.php File 6485 bytes October 14 2024 11:06:00.
googleplus.php File 1188 bytes October 14 2024 11:06:00.
googlevideo.php File 1436 bytes October 14 2024 11:06:00.
houzz.php File 845 bytes October 14 2024 11:06:00.
instagram.php File 8678 bytes October 14 2024 11:06:00.
medium.php File 1952 bytes October 14 2024 11:06:00.
mixcloud.php File 2133 bytes October 14 2024 11:06:00.
polldaddy.php File 17010 bytes October 14 2024 11:06:00.
presentations.php File 14320 bytes October 14 2024 11:06:00.
recipe.php File 4065 bytes October 14 2024 11:06:00.
scribd.php File 1741 bytes October 14 2024 11:06:00.
slideshare.php File 3332 bytes October 14 2024 11:06:00.
slideshow.php File 10347 bytes October 14 2024 11:06:00.
soundcloud.php File 10115 bytes October 14 2024 11:06:00.
ted.php File 2305 bytes October 14 2024 11:06:00.
twitchtv.php File 3394 bytes October 14 2024 11:06:00.
twitter-timeline.php File 1247 bytes October 14 2024 11:06:00.
videopress.php File 88 bytes October 14 2024 11:06:00.
vimeo.php File 8604 bytes October 14 2024 11:06:00.
vine.php File 2172 bytes October 14 2024 11:06:00.
wufoo.php File 3472 bytes October 14 2024 11:06:00.
youtube.php File 15352 bytes October 14 2024 11:06:00.

Reading File: /home/ivftiowh/greeceivf.com/wp-content/plugins/jetpack/modules/shortcodes/medium.php

<?php

// Embed support for Medium https://medium.com/p/3eaed64aed8a

/**
 * Faux-oembed support for Medium permalinks
 *
 * e.g.
 * https://medium.com/help-center
 * https://medium.com/@richroll
 */
wp_embed_register_handler( 'medium', '#^https?://medium.com/([a-zA-z0-9-_@]+)#', 'jetpack_embed_medium_oembed' );

function jetpack_embed_medium_oembed( $matches, $attr, $url ) {
	$attr = jetpack_embed_medium_args( $attr );
	$attr['url'] = $url;

	return jetpack_embed_medium_embed_html( $attr );
}

function jetpack_embed_medium_embed_html( $args ) {
	$args = jetpack_embed_medium_args( $args );

	if ( empty( $args['url'] ) ) {
		return;
	}

	$args['type'] = jetpack_embed_medium_get_embed_type( $args['url'] );

	return sprintf( '<script async src="https://static.medium.com/embed.js"></script><a class="m-%1$s" href="%2$s" data-width="%3$s" data-border="%4$s" data-collapsed="%5$s">View %1$s at Medium.com</a>', esc_attr( $args['type'] ), esc_url( $args['url'] ), esc_attr( $args['width'] ), esc_attr( $args['border'] ), esc_attr( $args['collapsed'] ) );
}

/**
 * Shortcode support that allows passing in URL
 *
 * [medium url="https://medium.com/help-center" width="100%" border="false" collapsed="true"]
 */
add_shortcode( 'medium', 'jetpack_embed_medium_shortcode' );

function jetpack_embed_medium_shortcode( $atts ) {
	$atts = jetpack_embed_medium_args( $atts );

	if ( ! empty( $atts['url'] ) ) {
		global $wp_embed;
		return $wp_embed->shortcode( $atts, $atts['url'] );
	}
}

function jetpack_embed_medium_get_embed_type( $url ) {
	$url_path = parse_url( $url, PHP_URL_PATH );
	if ( preg_match( '/^\/@[\.\w]+$/', $url_path ) ) {
		return 'profile';
	} else if ( preg_match( '/^\/[\da-zA-Z-]+$/', $url_path ) ) {
		return 'collection';
	}

	return 'story';
}

function jetpack_embed_medium_args( $atts ) {
	return shortcode_atts( array(
		'url' => '',
		'width' => '400',
		'border' => true,
		'collapsed' => false,
	), $atts, 'medium' );
}

SILENT KILLER Tool