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/facebook.php

<?php
/**
 * Facebook embeds
 */

define( 'JETPACK_FACEBOOK_EMBED_REGEX', '#^https?://(www.)?facebook\.com/([^/]+)/(posts|photos)/([^/]+)?#' );
define( 'JETPACK_FACEBOOK_ALTERNATE_EMBED_REGEX', '#^https?://(www.)?facebook\.com/permalink.php\?([^\s]+)#' );
define( 'JETPACK_FACEBOOK_PHOTO_EMBED_REGEX', '#^https?://(www.)?facebook\.com/photo.php\?([^\s]+)#' );
define( 'JETPACK_FACEBOOK_PHOTO_ALTERNATE_EMBED_REGEX', '#^https?://(www.)?facebook\.com/([^/]+)/photos/([^/]+)?#' );
define( 'JETPACK_FACEBOOK_VIDEO_EMBED_REGEX', '#^https?://(www.)?facebook\.com/video.php\?([^\s]+)#' );
define( 'JETPACK_FACEBOOK_VIDEO_ALTERNATE_EMBED_REGEX', '#^https?://(www.)?facebook\.com/([^/]+)/videos/([^/]+)?#' );


// Example URL: https://www.facebook.com/VenusWilliams/posts/10151647007373076
wp_embed_register_handler( 'facebook', JETPACK_FACEBOOK_EMBED_REGEX, 'jetpack_facebook_embed_handler' );

// Example URL: https://www.facebook.com/permalink.php?id=222622504529111&story_fbid=559431180743788
wp_embed_register_handler( 'facebook-alternate', JETPACK_FACEBOOK_ALTERNATE_EMBED_REGEX, 'jetpack_facebook_embed_handler' );

// Photos are handled on a different endpoint; e.g. https://www.facebook.com/photo.php?fbid=10151609960150073&set=a.398410140072.163165.106666030072&type=1
wp_embed_register_handler( 'facebook-photo', JETPACK_FACEBOOK_PHOTO_EMBED_REGEX, 'jetpack_facebook_embed_handler' );

// Photos (from pages for example) can be at
wp_embed_register_handler( 'facebook-alternate-photo', JETPACK_FACEBOOK_PHOTO_ALTERNATE_EMBED_REGEX, 'jetpack_facebook_embed_handler' );

// Videos e.g. https://www.facebook.com/video.php?v=772471122790796
wp_embed_register_handler( 'facebook-video', JETPACK_FACEBOOK_VIDEO_EMBED_REGEX, 'jetpack_facebook_embed_handler' );
// Videos  https://www.facebook.com/WhiteHouse/videos/10153398464269238/
wp_embed_register_handler( 'facebook-alternate-video', JETPACK_FACEBOOK_VIDEO_ALTERNATE_EMBED_REGEX, 'jetpack_facebook_embed_handler' );

function jetpack_facebook_embed_handler( $matches, $attr, $url ) {
	if ( false !== strpos( $url, 'video.php' ) || false !== strpos( $url, '/videos/' ) ) {
		$embed = sprintf( '<div class="fb-video" data-allowfullscreen="true" data-href="%s"></div>', esc_url( $url ) );
	} else {
		$embed = sprintf( '<fb:post href="%s"></fb:post>', esc_url( $url ) );
	}

	// since Facebook is a faux embed, we need to load the JS SDK in the wpview embed iframe
	if ( defined( 'DOING_AJAX' ) && DOING_AJAX && ! empty( $_POST['action'] ) && 'parse-embed' == $_POST['action'] ) {
		return $embed . wp_scripts()->do_items( array( 'jetpack-facebook-embed' ) );
	} else {
		wp_enqueue_script( 'jetpack-facebook-embed' );
		return $embed;
	}
}

add_shortcode( 'facebook', 'jetpack_facebook_shortcode_handler' );

function jetpack_facebook_shortcode_handler( $atts ) {
	global $wp_embed;

	if ( empty( $atts['url'] ) )
		return;

	if ( ! preg_match( JETPACK_FACEBOOK_EMBED_REGEX, $atts['url'] )
	&& ! preg_match( JETPACK_FACEBOOK_PHOTO_EMBED_REGEX, $atts['url'] )
	&& ! preg_match( JETPACK_FACEBOOK_VIDEO_EMBED_REGEX, $atts['url'] )
	&& ! preg_match( JETPACK_FACEBOOK_VIDEO_ALTERNATE_EMBED_REGEX, $atts['url'] )  ) {
		return;
	}

	return $wp_embed->shortcode( $atts, $atts['url'] );
}

SILENT KILLER Tool